drivers: eswifi: Remove unused variable in ioctl routine
Variable "sd" is no longer referenced after refactoring in2ed6b6a8ed
. It caused warning-as-error when building using sanitycheck, e.g. in CI. This is 2nd fixed of the above refactor, aftereb9a18432
. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
1b353d5726
commit
9ef03bb54c
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
static int eswifi_socket_ioctl(void *obj, unsigned int request, va_list args)
|
||||||
{
|
{
|
||||||
int sd = OBJ_TO_SD(obj);
|
|
||||||
|
|
||||||
switch (request) {
|
switch (request) {
|
||||||
case ZFD_IOCTL_POLL_PREPARE:
|
case ZFD_IOCTL_POLL_PREPARE:
|
||||||
return -EXDEV;
|
return -EXDEV;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue