diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-03 04:50:51 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-05-02 13:50:52 +0200 |
commit | 9f3f746741d917fe3c6c544c7d319d533176d90b (patch) | |
tree | cc962947595594115c3616960c3772e4175faffb /drivers/lguest/lguest_device.c | |
parent | lguest: avoid using NR_CPUS as a bounds check. (diff) | |
download | linux-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