commit | d2af686c2df82659673c2a795c06dcd37730a3b9 | [log] [tgz] |
---|---|---|
author | Randy Dunlap <rdunlap@infradead.org> | Sat Jul 07 08:27:53 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 08 11:00:50 2018 +0900 |
tree | b3aca0185bac6c87c18f452365f83cdcee55fa14 | |
parent | 005c1c0eac82d76214581e9698ee183c2df9f3c6 [diff] |
connector: fix defined but not used warning Fix a build warning in connector.c when CONFIG_PROC_FS is not enabled by marking the unused function as __maybe_unused. ../drivers/connector/connector.c:242:12: warning: 'cn_proc_show' defined but not used [-Wunused-function] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Evgeniy Polyakov <zbr@ioremap.net> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>