header cleaning: don't include smp_lock.h when not used
Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
04c9167f91
commit
e63340ae6b
@@ -1605,7 +1605,6 @@ static const struct proto_ops SOCKOPS_WRAPPED(x25_proto_ops) = {
|
||||
.sendpage = sock_no_sendpage,
|
||||
};
|
||||
|
||||
#include <linux/smp_lock.h>
|
||||
SOCKOPS_WRAP(x25_proto, AF_X25);
|
||||
|
||||
static struct packet_type x25_packet_type = {
|
||||
|
Reference in New Issue
Block a user