aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorDominique Martinet <[email protected]>2022-06-12 07:05:39 +0000
committerDominique Martinet <[email protected]>2022-07-02 09:52:21 +0000
commitdafbe689736f62c696ac64809b17bdc752cfbe76 (patch)
tree8a4774deab90c8ae0255de0eed33f57c86433354 /drivers/fpga/machxo2-spi.c
parent9p fid refcount: add a 9p_fid_ref tracepoint (diff)
downloadkernel-dafbe689736f62c696ac64809b17bdc752cfbe76.tar.gz
kernel-dafbe689736f62c696ac64809b17bdc752cfbe76.zip
9p fid refcount: cleanup p9_fid_put calls
Simplify p9_fid_put cleanup path in many 9p functions since the function is noop on null or error fids. Also make the *_add_fid() helpers "steal" the fid by nulling its pointer, so put after them will be noop. This should lead to no change of behaviour Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Tyler Hicks <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions