]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: remove bogus NULL cpu check
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 May 2008 02:50:51 +0000 (21:50 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 2 May 2008 11:50:52 +0000 (21:50 +1000)
commit662886f9b4671b7ecd231632189cce470239e883
treecc962947595594115c3616960c3772e4175faffb
parentaf7f5747fad2c2b3e3cfff0584b47d802271c55e
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>
drivers/lguest/lguest_user.c