]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4/cxgb4vf: Remove superfluous void * cast in debugfs_create_file() call
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 5 May 2020 13:34:00 +0000 (15:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2020 20:16:26 +0000 (13:16 -0700)
commitd2e33af5b4c787c7b5def926a0cc7791a526ffc3
treef407aaaf97f3588c69b79fef3fdad477dbe6214a
parent04558095ee7d6023e3eb0d07c5927cb7297cb8d0
cxgb4/cxgb4vf: Remove superfluous void * cast in debugfs_create_file() call

There is no need to cast a typed pointer to a void pointer when calling
a function that accepts the latter.  Remove it, as the cast prevents
further compiler checks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c