diff options
author | Roi Dayan <roid@nvidia.com> | 2020-09-16 10:11:20 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-17 02:48:37 +0300 |
commit | 7a126a43a3dcf0fa6b9f7f2fe3ce82102517afe3 (patch) | |
tree | f0eb2e452ecd89df09c2a3d96876fb5d29cc4364 /mm/page_alloc.c | |
parent | 5a30833b9a16f8d1aa15de06636f9317ca51f9df (diff) | |
download | linux-7a126a43a3dcf0fa6b9f7f2fe3ce82102517afe3.tar.xz |
net: Change dev parameter to const in netif_device_present()
Not all ndos check the present bit before calling the ndo and the driver
may want to check it. Sometimes the dev parameter passed as const so we
pass it to netif_device_present() as const.
Since netif_device_present() doesn't modify dev parameter anyway, declare
it as const.
Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions