OSDN Git Service

mlxsw: spectrum_router: Properly name netevent work struct
authorIdo Schimmel <idosch@mellanox.com>
Thu, 2 Nov 2017 16:14:07 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Nov 2017 06:40:41 +0000 (15:40 +0900)
commitceb8881ddf6d79c257c916763b0e558d053b2560
tree9bfabe327616062ac9f16ff00feb118413f3c33a
parent48fac8852637f00abcb05b1af3489e3cd45cda58
mlxsw: spectrum_router: Properly name netevent work struct

The struct containing the work item queued from the netevent handler is
named after the only event it is currently used for, which is neighbour
updates.

Use a more appropriate name for the struct, as we are going to use it
for more events.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c