Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Sergey Ryazanov and committed by
Jakub Kicinski
d95c5aa4 db2733d4

-2
-2
drivers/net/wwan/wwan_core.c
··· 43 43 * 44 44 * @id: WWAN device unique ID. 45 45 * @dev: Underlying device. 46 - * @port_id: Current available port ID to pick. 47 46 * @ops: wwan device ops 48 47 * @ops_ctxt: context to pass to ops 49 48 * @debugfs_dir: WWAN device debugfs dir ··· 50 51 struct wwan_device { 51 52 unsigned int id; 52 53 struct device dev; 53 - atomic_t port_id; 54 54 const struct wwan_ops *ops; 55 55 void *ops_ctxt; 56 56 #ifdef CONFIG_WWAN_DEBUGFS