]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/wanrouter/wanmain.c
module: neaten __find_symbol, rename to find_symbol
[linux-2.6-omap-h63xx.git] / net / wanrouter / wanmain.c
index 7a19e0ede2891238b910ecae4f416cfd6c6b49a7..9ab31a3ce3ade9c4a40a3dc0f3d34ce3bfe2b192 100644 (file)
@@ -46,7 +46,6 @@
 #include <linux/capability.h>
 #include <linux/errno.h>       /* return codes */
 #include <linux/kernel.h>
-#include <linux/init.h>
 #include <linux/module.h>      /* support for loadable modules */
 #include <linux/slab.h>                /* kmalloc(), kfree() */
 #include <linux/mm.h>
@@ -454,7 +453,7 @@ static int wanrouter_device_setup(struct wan_device *wandev,
        }
 
        if (conf->data_size && conf->data) {
-               if (conf->data_size > 128000 || conf->data_size < 0) {
+               if (conf->data_size > 128000) {
                        printk(KERN_INFO
                            "%s: ERROR, Invalid firmware data size %i !\n",
                                        wandev->name, conf->data_size);