linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udevd.c: tiny bit of dead code
@ 2009-05-21 13:53 Alan Jenkins
  2009-05-21 16:32 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Jenkins @ 2009-05-21 13:53 UTC (permalink / raw)
  To: linux-hotplug

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) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: udevd.c: tiny bit of dead code
  2009-05-21 13:53 udevd.c: tiny bit of dead code Alan Jenkins
@ 2009-05-21 16:32 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2009-05-21 16:32 UTC (permalink / raw)
  To: linux-hotplug

On Thu, May 21, 2009 at 15:53, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-21 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 13:53 udevd.c: tiny bit of dead code Alan Jenkins
2009-05-21 16:32 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).