staging: dgap: remove unused paramter in dgap_parsefile()
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 13 Jun 2014 09:18:04 +0000 (18:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:23:31 +0000 (15:23 -0700)
"remove" parameter is not used in dgap_parsefile().

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

index 38749d00d316331e75703dde37df65f44f3b1dae..c1f2798f4437bd8e9c39812e165ed7c4d3192fb4 100644 (file)
@@ -174,7 +174,7 @@ static void dgap_remove_tty_sysfs(struct device *c);
 /*
  * Function prototypes from dgap_parse.h
  */
-static int dgap_parsefile(char **in, int remove);
+static int dgap_parsefile(char **in);
 static struct cnode *dgap_find_config(int type, int bus, int slot);
 static uint dgap_config_get_num_prts(struct board_t *bd);
 static char *dgap_create_config_string(struct board_t *bd, char *string);
@@ -852,7 +852,7 @@ static int dgap_firmware_load(struct pci_dev *pdev, int card_type)
                 */
                tmp_ptr = dgap_config_buf;
 
-               if (dgap_parsefile(&tmp_ptr, TRUE) != 0) {
+               if (dgap_parsefile(&tmp_ptr) != 0) {
                        kfree(dgap_config_buf);
                        return -EINVAL;
                }
@@ -6427,7 +6427,7 @@ static void dgap_remove_tty_sysfs(struct device *c)
 /*
  * Parse a configuration file read into memory as a string.
  */
-static int dgap_parsefile(char **in, int remove)
+static int dgap_parsefile(char **in)
 {
        struct cnode *p, *brd, *line, *conc;
        int rc;
This page took 0.032079 seconds and 5 git commands to generate.