]> err.no Git - linux-2.6/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)
commit9f3f746741d917fe3c6c544c7d319d533176d90b
treecc962947595594115c3616960c3772e4175faffb
parent24adf12722b4f2800e5b5f0955d57033f0d0c9e5
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