aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ixp4xx/ixp4xx-csr-2.0/2.6.14.patch
blob: 9630e6cd4a7324e9a99ace150878264465006cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Additional patches for v2.0 on 2.6.14
--- ixp400_xscale_sw/src/oslinux/IxLinuxInit.c.orig	2005-10-01 18:21:34.731233399 -0700
+++ ixp400_xscale_sw/src/oslinux/IxLinuxInit.c	2005-10-01 18:21:45.811930663 -0700
@@ -160,7 +160,6 @@
 	return -EEXIST;
     }
 
-    MOD_INC_USE_COUNT;   /* Increment use count to prevent premature rmmod-ing */
     ixNpeDlSegmentedListHead = NULL;  /* Reset linked list which keeps track of Microcode fragments */
     ixNpeDlSegmentedListTail = NULL;
     ixNpeDlTotalBytesReadIn = 0;
@@ -225,8 +224,6 @@
 	kfree (temp);
     }
 
-    MOD_DEC_USE_COUNT;
-
     return 0;
 }