diff mbox

[2/2] b43legacy: remove asm/atomic.h includes as suggested by checkpatch.pl

Message ID 20110726153655.24611.76833.stgit@mj.roinet.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Pavel Roskin July 26, 2011, 3:36 p.m. UTC
Including linux/atomic.h doesn't appear to be necessary.

Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 0 files changed, 0 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Larry Finger July 26, 2011, 3:55 p.m. UTC | #1
On 07/26/2011 10:36 AM, Pavel Roskin wrote:
> Including linux/atomic.h doesn't appear to be necessary.
>
> Signed-off-by: Pavel Roskin<proski@gnu.org>

As b43 manages to also do atomic operations without this header, this patch 
should be OK for all architectures.

ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/b43legacy/b43legacy.h b/drivers/net/wireless/b43legacy/b43legacy.h
index 17a130d..71159aa 100644
--- a/drivers/net/wireless/b43legacy/b43legacy.h
+++ b/drivers/net/wireless/b43legacy/b43legacy.h
@@ -8,7 +8,6 @@ 
 #include <linux/stringify.h>
 #include <linux/netdevice.h>
 #include <linux/pci.h>
-#include <asm/atomic.h>
 #include <linux/io.h>
 
 #include <linux/ssb/ssb.h>
diff --git a/drivers/net/wireless/b43legacy/dma.h b/drivers/net/wireless/b43legacy/dma.h
index 04121ff..7ed84b9 100644
--- a/drivers/net/wireless/b43legacy/dma.h
+++ b/drivers/net/wireless/b43legacy/dma.h
@@ -5,7 +5,6 @@ 
 #include <linux/spinlock.h>
 #include <linux/workqueue.h>
 #include <linux/linkage.h>
-#include <asm/atomic.h>
 
 #include "b43legacy.h"