Skip to contentSkip to conversation

udevd.c: tiny bit of dead code

DISCUSSION Alan Jenkins 2 participants 2 messages May 21, 2009

lore
Share & tools
lore
#0 lore raw

There's an empty if statement here. I don't think it's a bug, it's just sitting there looking funny :-).

/* lookup event for identical, parent, child device */ static int devpath_busy(struct udev_event *event)

{
    struct udev_list_node *loop;

    if (event->delaying_seqnum > 0) {
    }
    /* check if queue contains events we depend on */
    udev_list_node_foreach(loop, &event_list) {
#1 lore raw
Quoted 5 lines · Alan Jenkins

There's an empty if statement here.  I don't think it's a bug, it's just sitting there looking funny :-).

  if (event->delaying_seqnum > 0) {
  }

Looks pretty useless, yeah. :) Removed.

Thanks,
Kay