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)
commit730f135104f3afe320d0df4c53c28d6ad9d17d6b
treef407aaaf97f3588c69b79fef3fdad477dbe6214a
parent9ea833022b5c887a242c0e3567f540c91f8611e6
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