From: Dany Madden <drt@linux.ibm.com>
To: netdev@vger.kernel.org
Cc: sukadev@linux.ibm.com, ricklind@linux.ibm.com,
brking@linux.ibm.com, otis@otisroot.com
Subject: [PATCH net 2/2] ibmvnic: remove unused defines
Date: Tue, 14 Dec 2021 00:17:48 -0500 [thread overview]
Message-ID: <20211214051748.511675-3-drt@linux.ibm.com> (raw)
In-Reply-To: <20211214051748.511675-1-drt@linux.ibm.com>
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(-)
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 */
--
2.27.0
next prev parent reply other threads:[~2021-12-14 5:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-14 5:17 [PATCH net 0/2] cleanup return codes Dany Madden
2021-12-14 5:17 ` [PATCH net 1/2] ibmvnic: Update driver " Dany Madden
2021-12-15 21:17 ` Sukadev Bhattiprolu
2021-12-14 5:17 ` Dany Madden [this message]
2021-12-15 21:17 ` [PATCH net 2/2] ibmvnic: remove unused defines Sukadev Bhattiprolu
2021-12-14 13:00 ` [PATCH net 0/2] cleanup return codes patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211214051748.511675-3-drt@linux.ibm.com \
--to=drt@linux.ibm.com \
--cc=brking@linux.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=otis@otisroot.com \
--cc=ricklind@linux.ibm.com \
--cc=sukadev@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).