staging: rtl8188eu: unnecessary initialization removed
authorIvan Safonov <insafonov@gmail.com>
Tue, 3 Nov 2015 09:52:23 +0000 (16:52 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
It is superfluous.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/fw.c

index 8eafd7e34f4a766ed75006ade4d836c26ddbd56c..b48f4447dc40f10614f3e8952cc04cf73f398799 100644 (file)
@@ -58,7 +58,7 @@ static void _rtl88e_fw_block_write(struct adapter *adapt,
                                   const u8 *buffer, u32 size)
 {
        u32 blk_sz = sizeof(u32);
-       const u8 *buf_ptr = (u8 *)buffer;
+       const u8 *buf_ptr;
        const u32 *pu4BytePtr = (u32 *)buffer;
        u32 i, offset, blk_cnt, remain;