summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-14 23:08:01 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-14 23:08:01 +0000
commitaf9d7591ba0ada32bf4c22ee6c845ed85a3e3f03 (patch)
treeb314dd0b1e315cc580ec88307aeca513771a29ef /hw
parente47fb22c9235bc38c4f3430178a6fa733ff2c3a7 (diff)
Coverity #1007: Fix a silly null check.
Diffstat (limited to 'hw')
-rw-r--r--hw/dmx/input/dmxinputinit.c1
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));