diff options
author | Dan Carpenter <[email protected]> | 2024-04-24 14:43:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-05-04 18:41:48 +0200 |
commit | a0e244ec59bdc4caac4b7a105f029fd1af28f0f2 (patch) | |
tree | 0ea25625275b2cf678774ad55704ac2e40bce823 /lib/debugobjects.c | |
parent | 62cbabc6fd228e62daff6ec108fae35632e2b692 (diff) |
staging: vc04_services: Delete unnecessary NULL check
The "state" pointer points to an offset in the middle of the "mgmt"
struct so it can't possibly be NULL. And also we dereferenced it on the
line before. So this NULL check is pointless. Delete it.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Stefan Wahren <[email protected]>
Reviewed-by: Umang Jain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions