2002-12-09 08:56:14

by Miles Bader

[permalink] [raw]
Subject: [PATCH] Make net/socket.c only include <linux/wireless.h> once

Currently it includes it twice, once unconditionally and once conditionally.
Removing the unconditional include doesn't seem to cause any problems, so
this patch does that.

diff -ruN -X../cludes ../orig/linux-2.5.50-uc0/net/socket.c net/socket.c
--- ../orig/linux-2.5.50-uc0/net/socket.c 2002-11-25 10:30:11.000000000 +0900
+++ net/socket.c 2002-11-28 14:35:39.000000000 +0900
@@ -75,7 +75,6 @@
#include <linux/cache.h>
#include <linux/module.h>
#include <linux/highmem.h>
-#include <linux/wireless.h>
#include <linux/divert.h>
#include <linux/mount.h>