diff options
| author | Tomas Winkler <[email protected]> | 2013-09-04 12:35:52 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-09-26 15:44:40 +0000 |
| commit | 6d3e0d0c1ca926fd6ab557fcd5efb171148f43d6 (patch) | |
| tree | 6177acff20ec3617a5de3cfee4ad39722261f7d9 /drivers/misc/ibmasm/module.c | |
| parent | drivers: misc: bmp085: remove '__init' from mp085_get_of_properties() (diff) | |
| download | kernel-6d3e0d0c1ca926fd6ab557fcd5efb171148f43d6.tar.gz kernel-6d3e0d0c1ca926fd6ab557fcd5efb171148f43d6.zip | |
hpet: remove useless check if fixmem32 is NULL
fixmem32 is assigned to address of res->data member
so the address is always valid
Actually since we are not checking for res != NULL
static analyzing is complaining about referencing the pointer
and consequent check for null.
The code snippet looks confusing also for human eyes.
Cc: Randy Dunlap <[email protected]>
Signed-off-by: Tomas Winkler <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions
