]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/bluetooth/af_bluetooth.c
net: Remove CONFIG_KMOD from net/ (towards removing CONFIG_KMOD entirely)
[karo-tx-linux.git] / net / bluetooth / af_bluetooth.c
index 1edfdf4c095ba085ebe134eb6a3ee00d23128f1d..8f9431a12c6f36ed5f8d3ad2b28f765120824d7b 100644 (file)
 #include <linux/poll.h>
 #include <net/sock.h>
 #include <asm/ioctls.h>
-
-#if defined(CONFIG_KMOD)
 #include <linux/kmod.h>
-#endif
 
 #include <net/bluetooth/bluetooth.h>
 
@@ -49,7 +46,7 @@
 #define BT_DBG(D...)
 #endif
 
-#define VERSION "2.12"
+#define VERSION "2.13"
 
 /* Bluetooth sockets */
 #define BT_MAX_PROTO   8
@@ -145,11 +142,8 @@ static int bt_sock_create(struct net *net, struct socket *sock, int proto)
        if (proto < 0 || proto >= BT_MAX_PROTO)
                return -EINVAL;
 
-#if defined(CONFIG_KMOD)
-       if (!bt_proto[proto]) {
+       if (!bt_proto[proto])
                request_module("bt-proto-%d", proto);
-       }
-#endif
 
        err = -EPROTONOSUPPORT;