Skip to content

Commit 465aa30

Browse files
Colin Ian Kingkuba-moo
authored andcommitted
net: neterion: remove redundant assignment to variable tmp64
The variable tmp64 is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3b72f84 commit 465aa30

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/neterion

1 file changed

+1
-1
lines changed

drivers/net/ethernet/neterion/s2io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5155,7 +5155,7 @@ static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr)
51555155
/* read mac entries from CAM */
51565156
static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset)
51575157
{
5158-
u64 tmp64 = 0xffffffffffff0000ULL, val64;
5158+
u64 tmp64, val64;
51595159
struct XENA_dev_config __iomem *bar0 = sp->bar0;
51605160

51615161
/* read mac addr */

0 commit comments

Comments
 (0)