netdev
[Top] [All Lists]

Re: [patch] devinet: cleanup if statements

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [patch] devinet: cleanup if statements
From: Prasanna Meda <pmeda@xxxxxxxxxx>
Date: Thu, 23 Jun 2005 11:13:45 -0700
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, jgarzik@xxxxxxxxx, akpm@xxxxxxxx, netdev@xxxxxxxxxxx
References: <E1DlQ1w-0003yI-00@gondolin.me.apana.org.au>
Sender: netdev-bounce@xxxxxxxxxxx
Herbert Xu wrote:

>
>
> With your interpretation above his patch is correct as well.  If
> we want to use the label when it is different from the device name,
> then it is equivalent to always use the label since the only time
> we'd use the device name is when it's equal to the label :)

Sounds correct to me. Actually I did not think about second
interpretation in first.

Thanks,
Prasanna.


<Prev in Thread] Current Thread [Next in Thread>