drivers: eswifi: Remove unused variable in ioctl routine

Variable "sd" is no longer referenced after refactoring in 2ed6b6a8ed.
It caused warning-as-error when building using sanitycheck, e.g. in CI.
This is 2nd fixed of the above refactor, after eb9a18432.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2020-08-19 12:50:36 +03:00 committed by Jukka Rissanen
commit 9ef03bb54c

View file

@ -502,8 +502,6 @@ static int eswifi_socket_create(int family, int type, int proto)
static int eswifi_socket_ioctl(void *obj, unsigned int request, va_list args)
{
int sd = OBJ_TO_SD(obj);
switch (request) {
case ZFD_IOCTL_POLL_PREPARE:
return -EXDEV;