aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJim Cromie <[email protected]>2020-07-19 17:10:49 -0600
committerGreg Kroah-Hartman <[email protected]>2020-07-24 17:00:09 +0200
commit9c9d0acbe2793315fa6945a19685ad2a51fb281b (patch)
tree111d57017f676b713e97ea80f09981994fa7443d /drivers/fpga/fpga-mgr.c
parent0b8f96be9bd41521b6379b403cfce78934f8274c (diff)
dyndbg: prefer declarative init in caller, to memset in callee
ddebug_exec_query declares an auto var, and passes it to ddebug_parse_query, which memsets it before using it. Drop that memset, instead initialize the variable in the caller; let the compiler decide how to do it. Acked-by: <[email protected]> Signed-off-by: Jim Cromie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions