mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
net: ipv4: remove redundant assignment to variable rc
The variable rc is being assigned 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: David S. Miller <[email protected]>
This commit is contained in:
1 parent
bd1266d3f2
commit
b6246f4d8d
1 file changed
+1
-1
+1
-1
@@ -1914,7 +1914,7 @@ static int __init inet_init(void)
|
||||
{
|
||||
struct inet_protosw *q;
|
||||
struct list_head *r;
|
||||
int rc = -EINVAL;
|
||||
int rc;
|
||||
|
||||
sock_skb_cb_check_size(sizeof(struct inet_skb_parm));
|
||||
|
||||
|
||||
Reference in new issue
Block a user