pytools: obmcutil: Collapse redundant assignment and test

Change-Id: Ie461546c9056829b1b4a081a4031ac91c10e6a42
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 33a7e20..3cdfed9 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -109,11 +109,8 @@
 
         if prop:
             dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
-            val = None
             if objinfo.has_key('value'):
-                val = objinfo['value']
-            if val is not None:
-                dbus_iface.Set(iface, prop, val)
+                dbus_iface.Set(iface, prop, objinfo['value'])
             else:
                 dbus_prop = dbus_iface.Get(iface, prop)
                 print '{:<20}: {}'.format(prop, str(dbus_prop))