summaryrefslogtreecommitdiff
path: root/src/dkp-wup.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-12-09 11:05:59 +0000
committerRichard Hughes <richard@hughsie.com>2008-12-09 11:05:59 +0000
commit43f1ae266895561114c7f68c87f47f9474643ba8 (patch)
tree2f27d7ab4e218ec8102c3331497542782a865bcb /src/dkp-wup.c
parent0c0c7fd5a48434bfe4af96de1126ff7d4b6b6bb5 (diff)
trivial: fix the introspection warning and the startup verbage
Diffstat (limited to 'src/dkp-wup.c')
-rw-r--r--src/dkp-wup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dkp-wup.c b/src/dkp-wup.c
index 9d959de..d59806e 100644
--- a/src/dkp-wup.c
+++ b/src/dkp-wup.c
@@ -311,10 +311,8 @@ dkp_wup_coldplug (DkpDevice *device)
/* get the type */
type = devkit_device_get_property (d, "DKP_MONITOR_TYPE");
- if (type == NULL || !egg_strequal (type, "wup")) {
- egg_debug ("not a Watts Up? Pro device");
+ if (type == NULL || !egg_strequal (type, "wup"))
goto out;
- }
/* get the device file */
device_file = devkit_device_get_device_file (d);