aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2020-02-26 18:29:53 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-27 11:11:57 -0800
commit3a12500ed5dd21a63da779ac73503f11085bbc1c (patch)
treef762bf883ec807bc278655c263e3a3e372224779 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentMerge branch 'hinic-BugFixes' (diff)
downloadlinux-dev-3a12500ed5dd21a63da779ac73503f11085bbc1c.tar.xz
linux-dev-3a12500ed5dd21a63da779ac73503f11085bbc1c.zip
unix: define and set show_fdinfo only if procfs is enabled
Follow the pattern used with other *_show_fdinfo functions and only define unix_show_fdinfo and set it in proto_ops if CONFIG_PROCFS is set. Fixes: 3c32da19a858 ("unix: Show number of pending scm files of receive queue in fdinfo") Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Reviewed-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions