aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2014-02-13 14:28:41 +0000
committerMark Brown <[email protected]>2014-02-14 14:59:45 +0000
commitaec35f4ee6eefba616065547e6882c084cc7f5cb (patch)
tree5a71454cba1892491c9ab02a9e1d091fefe67747 /security/selinux/hooks.c
parentLinus 3.14-rc1 (diff)
downloadkernel-aec35f4ee6eefba616065547e6882c084cc7f5cb.tar.gz
kernel-aec35f4ee6eefba616065547e6882c084cc7f5cb.zip
spi: Clean up probe and remove functions
While backporting 33cf00e5 ("spi: attach/detach SPI device to the ACPI power domain"), I noticed that the code changes were suboptimal: * Why use &spi->dev when we have dev at hand? * After fixing the above, spi is used only once, so we don't really need a local variable for it. This results in the following clean-up. Signed-off-by: Jean Delvare <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions