summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lguest_device.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-05-03 04:50:51 +0200
committerRusty Russell <rusty@rustcorp.com.au>2008-05-02 13:50:52 +0200
commit9f3f746741d917fe3c6c544c7d319d533176d90b (patch)
treecc962947595594115c3616960c3772e4175faffb /drivers/lguest/lguest_device.c
parentlguest: avoid using NR_CPUS as a bounds check. (diff)
downloadlinux-9f3f746741d917fe3c6c544c7d319d533176d90b.tar.xz
linux-9f3f746741d917fe3c6c544c7d319d533176d90b.zip
lguest: remove bogus NULL cpu check
If lg isn't NULL, and cpu_id is sane, &lg->cpus[cpu_id] can't be NULL. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/lguest/lguest_device.c')
0 files changed, 0 insertions, 0 deletions