]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/isdn/mISDN/layer2.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[net-next-2.6.git] / drivers / isdn / mISDN / layer2.c
index 9c2589e986d6b185c7f555b48f4de7c1d5653b2d..c97371788764df3af6a45ad9f402ece12f59a1b3 100644 (file)
@@ -16,6 +16,7 @@
  */
 
 #include <linux/mISDNif.h>
+#include <linux/slab.h>
 #include "core.h"
 #include "fsm.h"
 #include "layer2.h"
@@ -1832,8 +1833,6 @@ static struct FsmNode L2FnList[] =
        {ST_L2_8, EV_L1_DEACTIVATE, l2_persistant_da},
 };
 
-#define L2_FN_COUNT (sizeof(L2FnList)/sizeof(struct FsmNode))
-
 static int
 ph_data_indication(struct layer2 *l2, struct mISDNhead *hh, struct sk_buff *skb)
 {