From: Kevin Hao <[email protected]>

This unused variable was introduced by commit 20932f1f83d3 ("fec_ecat:
add fec native driver for raw packet proto").

Signed-off-by: Kevin Hao <[email protected]>
---
 net/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/socket.c b/net/socket.c
index 085f5a655e2f..4fc1e256d0f3 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -2208,7 +2208,7 @@ int __sys_recvfrom(int fd, void __user *ubuf, size_t 
size, unsigned int flags,
        struct iovec iov;
        int err, err2;
        int fput_needed;
-       int i;
+
        if (fd == fast_raw_socket_fd) {
                err = 
fast_raw_socket_dev->netdev_ops->ndo_fast_recv(fast_raw_socket_dev, ubuf, size, 
addr, addr_len);
                return err;
-- 
2.44.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13739): 
https://lists.yoctoproject.org/g/linux-yocto/message/13739
Mute This Topic: https://lists.yoctoproject.org/mt/105175662/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to