diff options
| author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2026-01-26 14:21:51 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-30 18:26:59 -0800 |
| commit | d95c5aa45231400f9ecfd4b2cbf093e7c7accd8b (patch) | |
| tree | 86c2f8b16d8573af797b3f206c861e190b5a67c1 /drivers | |
| parent | db2733d4c435e09832b5d664b4472d012868886f (diff) | |
net: wwan: core: remove unused port_id field
It was used initially for a port id allocation, then removed, and then
accidently introduced again, but it is still unused. Drop it again to
keep code clean.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20260126062158.308598-2-slark_xiao@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/wwan/wwan_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wwan/wwan_core.c b/drivers/net/wwan/wwan_core.c index 63a47d420bc5..ade8bbffc93e 100644 --- a/drivers/net/wwan/wwan_core.c +++ b/drivers/net/wwan/wwan_core.c @@ -43,7 +43,6 @@ static struct dentry *wwan_debugfs_dir; * * @id: WWAN device unique ID. * @dev: Underlying device. - * @port_id: Current available port ID to pick. * @ops: wwan device ops * @ops_ctxt: context to pass to ops * @debugfs_dir: WWAN device debugfs dir @@ -51,7 +50,6 @@ static struct dentry *wwan_debugfs_dir; struct wwan_device { unsigned int id; struct device dev; - atomic_t port_id; const struct wwan_ops *ops; void *ops_ctxt; #ifdef CONFIG_WWAN_DEBUGFS |
