Skip to content

Commit

Permalink
device: dont re-get the parent of the device
Browse files Browse the repository at this point in the history
  • Loading branch information
gicmo committed Mar 6, 2018
1 parent e641940 commit aea66d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion boltd/bolt-device.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,6 @@ bolt_device_new_for_udev (struct udev_device *udev,

ct = (guint64) bolt_sysfs_device_get_time (udev, BOLT_ST_CTIME);

parent = bolt_sysfs_get_parent_uid (udev);
security = bolt_sysfs_security_for_device (udev, NULL);
status = bolt_status_from_udev (udev, security);
at = bolt_status_is_authorized (status) ? ct : 0;
Expand Down

0 comments on commit aea66d7

Please sign in to comment.