A few variables were assigned a null pointer despite of the detail
that they were immediately reassigned by the following statement.
Thus remove such unnecessary assignments.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        int rc = 0;
        int retval;
        unsigned char *data_buf;
-       data_buf = NULL;
 
        data_buf = kmalloc(sizeof(u32), GFP_KERNEL);
        if (!data_buf) {
        int rc = 0;
        int retval;
        unsigned char *read_buf;
-       read_buf = NULL;
+
        read_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL);
        if (!read_buf) {
                rc = 1;
        int length;
        const struct firmware *fw_entry = NULL;
 
-       rom_buf = NULL;
-
        /* buffer allocate */
        rom_buf = kmalloc(ROM_BUFF_SIZE, GFP_KERNEL);
        if (!rom_buf) {