aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2019-10-23 12:25:05 +0000
committerGreg Kroah-Hartman <[email protected]>2019-11-14 04:33:55 +0000
commit71564a26e3e9d29d3d8901eb32647c2c3a807e1f (patch)
tree742a8c7e43da05aa6b552e78f412226ea52d55ba /net/unix/af_unix.c
parentcpu-topology: declare parse_acpi_topology in <linux/arch_topology.h> (diff)
downloadkernel-71564a26e3e9d29d3d8901eb32647c2c3a807e1f.tar.gz
kernel-71564a26e3e9d29d3d8901eb32647c2c3a807e1f.zip
driver core: platform: Declare ret variable only once
We may define ret variable only once and avoid adding it each time platform_get_irq_optional() get extended. For the sake of consistency do the same in __platform_get_irq_byname(). Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions