diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2018-03-01 13:59:29 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-01 10:12:20 +0100 |
commit | 3ea9e7ae1a2038b9fdff729861c9b4af0087024f (patch) | |
tree | d4b124281b765ebe4be3a0d9dadd05069e9ae6ff /net/mac802154/tx.c | |
parent | 9b217f33017715903d0956dfc58f82d2a2d00e63 (diff) |
x86/apic: Modernize the pending interrupt code
The pending interrupt check code is old, update the following:
- Use for_each_set_bit() instead of open coding it
- Replace printk() with pr_err()
- Get rid of printk line breaks
- Make curly braces balanced
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: bhe@redhat.com
Cc: ebiederm@xmission.com
Link: https://lkml.kernel.org/r/20180301055930.2396-3-douly.fnst@cn.fujitsu.com
Diffstat (limited to 'net/mac802154/tx.c')
0 files changed, 0 insertions, 0 deletions