From: Jakub Kicinski <kuba@kernel•org>
To: anthony.l.nguyen@intel•com
Cc: shiraz.saleem@intel•com, netdev@vger•kernel.org,
intel-wired-lan@lists•osuosl.org,
Jakub Kicinski <kuba@kernel•org>
Subject: [PATCH] i40e: remove enum i40e_client_state
Date: Wed, 26 Jan 2022 10:55:44 -0800 [thread overview]
Message-ID: <20220126185544.2787111-1-kuba@kernel.org> (raw)
It's not used.
Signed-off-by: Jakub Kicinski <kuba@kernel•org>
---
include/linux/net/intel/i40e_client.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/linux/net/intel/i40e_client.h b/include/linux/net/intel/i40e_client.h
index 6b3267b49755..ed42bd5f639f 100644
--- a/include/linux/net/intel/i40e_client.h
+++ b/include/linux/net/intel/i40e_client.h
@@ -26,11 +26,6 @@ struct i40e_client_version {
u8 rsvd;
};
-enum i40e_client_state {
- __I40E_CLIENT_NULL,
- __I40E_CLIENT_REGISTERED
-};
-
enum i40e_client_instance_state {
__I40E_CLIENT_INSTANCE_NONE,
__I40E_CLIENT_INSTANCE_OPENED,
@@ -190,11 +185,6 @@ struct i40e_client {
const struct i40e_client_ops *ops; /* client ops provided by the client */
};
-static inline bool i40e_client_is_registered(struct i40e_client *client)
-{
- return test_bit(__I40E_CLIENT_REGISTERED, &client->state);
-}
-
void i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client);
void i40e_client_device_unregister(struct i40e_info *ldev);
--
2.34.1
next reply other threads:[~2022-01-26 18:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-26 18:55 Jakub Kicinski [this message]
2022-01-26 19:53 ` [PATCH] i40e: remove enum i40e_client_state Jesse Brandeburg
2022-01-26 19:59 ` Jakub Kicinski
2022-01-31 5:39 ` [Intel-wired-lan] " G, GurucharanX
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=20220126185544.2787111-1-kuba@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=anthony.l.nguyen@intel$(echo .)com \
--cc=intel-wired-lan@lists$(echo .)osuosl.org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=shiraz.saleem@intel$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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