This static const int variable is only used one place in the code.
Remove it and just open code the value.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
}
};
-static const int i8253_osc_base = 500; /* 2 Mhz */
-
struct pcl711_board {
const char *name;
int n_aichan;
if (cmd->scan_begin_src == TRIG_TIMER) {
timer1 = timer2 = 0;
- i8253_cascade_ns_to_timer(i8253_osc_base, &timer1, &timer2,
+ i8253_cascade_ns_to_timer(500, /* 2 Mhz */
+ &timer1, &timer2,
&cmd->scan_begin_arg,
TRIG_ROUND_NEAREST);