Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ide: Remove unneeded null pointer check
With bm == NULL, other code in the same function would crash. This bug was reported by cppcheck: hw/ide/pci.c:280: error: Possible null pointer dereference: bm Cc: Michael S. Tsirkin <[email protected]> Signed-off-by: Stefan Weil <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
- Loading branch information