Message ID | 20211214051748.511675-3-drt@linux.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fe4c82a7e0f06abdf5a6978aa00457b63bd46680 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | cleanup return codes | expand |
Dany Madden [drt@linux.ibm.com] wrote: > IBMVNIC_STATS_TIMEOUT and IBMVNIC_INIT_FAILED are not used in the driver. > Remove them. > > Suggested-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> > Signed-off-by: Dany Madden <drt@linux.ibm.com> Reviewed-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
diff --git a/drivers/net/ethernet/ibm/ibmvnic.h b/drivers/net/ethernet/ibm/ibmvnic.h index b8e42f67d897..4a8f36e0ab07 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.h +++ b/drivers/net/ethernet/ibm/ibmvnic.h @@ -18,8 +18,6 @@ #define IBMVNIC_NAME "ibmvnic" #define IBMVNIC_DRIVER_VERSION "1.0.1" #define IBMVNIC_INVALID_MAP -1 -#define IBMVNIC_STATS_TIMEOUT 1 -#define IBMVNIC_INIT_FAILED 2 #define IBMVNIC_OPEN_FAILED 3 /* basic structures plus 100 2k buffers */
IBMVNIC_STATS_TIMEOUT and IBMVNIC_INIT_FAILED are not used in the driver. Remove them. Suggested-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> Signed-off-by: Dany Madden <drt@linux.ibm.com> --- drivers/net/ethernet/ibm/ibmvnic.h | 2 -- 1 file changed, 2 deletions(-)