diff options
author | David Vrabel <dv02@dv02pc01.europe.root.pri> | 2008-10-16 08:56:53 -0400 |
---|---|---|
committer | David Vrabel <dv02@dv02pc01.europe.root.pri> | 2008-10-16 08:56:53 -0400 |
commit | 8092d7c9789581eea478c40d615a2632c3af17bb (patch) | |
tree | a9fccedfcdbfd9a74220aa99d48fa8a003313deb /drivers/uwb/i1480 | |
parent | 92c4d9bd1648b3eaca6b8b8f8932eec390ba7327 (diff) |
uwb: don't use printk_ratelimit() so often
Avoid using printk_ratelimit() in many places because:
- many were error messages reporting broken hardware (it's useful to
get all of these).
- the message itself wasn't useful so the message has been removed.
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/i1480')
-rw-r--r-- | drivers/uwb/i1480/dfu/mac.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/uwb/i1480/dfu/mac.c b/drivers/uwb/i1480/dfu/mac.c index 8d069907a3b5..2e4d8f07c165 100644 --- a/drivers/uwb/i1480/dfu/mac.c +++ b/drivers/uwb/i1480/dfu/mac.c | |||
@@ -425,7 +425,7 @@ out: | |||
425 | } | 425 | } |
426 | 426 | ||
427 | 427 | ||
428 | /** Wait for the MAC FW to start running */ | 428 | /* Wait for the MAC FW to start running */ |
429 | static | 429 | static |
430 | int i1480_fw_is_running_q(struct i1480 *i1480) | 430 | int i1480_fw_is_running_q(struct i1480 *i1480) |
431 | { | 431 | { |
@@ -443,8 +443,6 @@ int i1480_fw_is_running_q(struct i1480 *i1480) | |||
443 | } | 443 | } |
444 | if (*val == 0x55555555UL) /* fw running? cool */ | 444 | if (*val == 0x55555555UL) /* fw running? cool */ |
445 | goto out; | 445 | goto out; |
446 | if (printk_ratelimit()) | ||
447 | d_printf(5, i1480->dev, "read #%d: 0x%08x\n", cnt, *val); | ||
448 | } | 446 | } |
449 | dev_err(i1480->dev, "Timed out waiting for fw to start\n"); | 447 | dev_err(i1480->dev, "Timed out waiting for fw to start\n"); |
450 | result = -ETIMEDOUT; | 448 | result = -ETIMEDOUT; |