summaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorViresh Kumar2017-03-17 07:54:22 +0100
committerGreg Kroah-Hartman2017-04-08 18:27:39 +0200
commit35dbf4efb044fbe4096a5edbb449e894aca9ef50 (patch)
treed4424b8a54e5da6dddad2c29a2b198440e2b211c /kernel/compat.c
parentdrivers: base: dma-mapping: use nth_page helper (diff)
downloadkernel-qcow2-linux-35dbf4efb044fbe4096a5edbb449e894aca9ef50.tar.gz
kernel-qcow2-linux-35dbf4efb044fbe4096a5edbb449e894aca9ef50.tar.xz
kernel-qcow2-linux-35dbf4efb044fbe4096a5edbb449e894aca9ef50.zip
driver core: don't initialize 'parent' in device_add()
'parent' is always overwritten before getting used and there is no need to initialize it with NULL. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions