summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-14 23:08:10 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-14 23:08:10 +0000
commitd01e0956a8903fb41e8a34c78973b9b2860b6446 (patch)
tree0022589ac374bdff46c91ac1e2e5fcd04dd5988a /hw/dmx
parent6d29f659318364afe046dc242d6f506ce40a944a (diff)
Coverity #1007: Fix a silly null check.
Diffstat (limited to 'hw/dmx')
-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));