diff options
Diffstat (limited to 'net/can/proc.c')
-rw-r--r-- | net/can/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/can/proc.c b/net/can/proc.c index d979b3dc49a6..0c59f876fe6f 100644 --- a/net/can/proc.c +++ b/net/can/proc.c | |||
@@ -221,7 +221,7 @@ static int can_stats_proc_show(struct seq_file *m, void *v) | |||
221 | 221 | ||
222 | seq_putc(m, '\n'); | 222 | seq_putc(m, '\n'); |
223 | 223 | ||
224 | if (net->can.can_stattimer.function == (TIMER_FUNC_TYPE)can_stat_update) { | 224 | if (net->can.can_stattimer.function == can_stat_update) { |
225 | seq_printf(m, " %8ld %% total match ratio (RXMR)\n", | 225 | seq_printf(m, " %8ld %% total match ratio (RXMR)\n", |
226 | can_stats->total_rx_match_ratio); | 226 | can_stats->total_rx_match_ratio); |
227 | 227 | ||
@@ -291,7 +291,7 @@ static int can_reset_stats_proc_show(struct seq_file *m, void *v) | |||
291 | 291 | ||
292 | user_reset = 1; | 292 | user_reset = 1; |
293 | 293 | ||
294 | if (net->can.can_stattimer.function == (TIMER_FUNC_TYPE)can_stat_update) { | 294 | if (net->can.can_stattimer.function == can_stat_update) { |
295 | seq_printf(m, "Scheduled statistic reset #%ld.\n", | 295 | seq_printf(m, "Scheduled statistic reset #%ld.\n", |
296 | can_pstats->stats_reset + 1); | 296 | can_pstats->stats_reset + 1); |
297 | } else { | 297 | } else { |