OSDN Git Service

net/ncsi: Don't return error on normal response
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 8 Nov 2017 05:30:45 +0000 (16:30 +1100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 06:09:44 +0000 (15:09 +0900)
commit04bad8bda9e25afe676a6f4452f3b304c1fdea16
tree86dc5acf55cdcce62029c64ac01dc8527ea35e2a
parent9ef8690be13d8ae3130749fbcc0cc21e4e3f738c
net/ncsi: Don't return error on normal response

Several response handlers return EBUSY if the data corresponding to the
command/response pair is already set. There is no reason to return an
error here; the channel is advertising something as enabled because we
told it to enable it, and it's possible that the feature has been
enabled previously.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-rsp.c