diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2008-10-11 02:13:29 -0400 |
---|---|---|
committer | Karsten Keil <kkeil@suse.de> | 2009-01-09 16:44:29 -0500 |
commit | 400fd9783e7374bdf73b9cee9d7b90e35e3007da (patch) | |
tree | a91634d74632c2326094fc055f1e77f5aa9c7533 /drivers/isdn/hardware/mISDN/hfcpci.c | |
parent | b36b654a7e82308cea063cdf909a7f246105c2a3 (diff) |
mISDN: Minor cleanups
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn/hardware/mISDN/hfcpci.c')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 8df12bf02af3..2db06490b1ac 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -2333,10 +2333,10 @@ HFC_init(void) | |||
2333 | poll = HFCPCI_BTRANS_THRESHOLD; | 2333 | poll = HFCPCI_BTRANS_THRESHOLD; |
2334 | 2334 | ||
2335 | if (poll != HFCPCI_BTRANS_THRESHOLD) { | 2335 | if (poll != HFCPCI_BTRANS_THRESHOLD) { |
2336 | tics = poll * HZ / 8000; | 2336 | tics = (poll * HZ) / 8000; |
2337 | if (tics < 1) | 2337 | if (tics < 1) |
2338 | tics = 1; | 2338 | tics = 1; |
2339 | poll = tics * 8000 / HZ; | 2339 | poll = (tics * 8000) / HZ; |
2340 | if (poll > 256 || poll < 8) { | 2340 | if (poll > 256 || poll < 8) { |
2341 | printk(KERN_ERR "%s: Wrong poll value %d not in range " | 2341 | printk(KERN_ERR "%s: Wrong poll value %d not in range " |
2342 | "of 8..256.\n", __func__, poll); | 2342 | "of 8..256.\n", __func__, poll); |