diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-14 23:08:10 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-14 23:08:10 +0000 |
commit | d01e0956a8903fb41e8a34c78973b9b2860b6446 (patch) | |
tree | 0022589ac374bdff46c91ac1e2e5fcd04dd5988a /hw/dmx | |
parent | 6d29f659318364afe046dc242d6f506ce40a944a (diff) |
Coverity #1007: Fix a silly null check.
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/input/dmxinputinit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxinputinit.c b/hw/dmx/input/dmxinputinit.c index 5332dccd9..c81eb846f 100644 --- a/hw/dmx/input/dmxinputinit.c +++ b/hw/dmx/input/dmxinputinit.c @@ -429,7 +429,6 @@ static int dmxDeviceOnOff(DeviceIntPtr pDevice, int what) int i; #endif - if (!dmxLocal) return BadImplementation; if (dmxInput->detached) return Success; memset(&info, 0, sizeof(info)); |