Hi. Chris. You're right~ we can optmize code properly by moving printk to mmc_select_powerclass. Thanks for your reply. 2012/4/10 Chris Ball <cjb@xxxxxxxxxx>: > Hi, > > On Mon, Apr 09 2012, Namjae Jeon wrote: >> Hi Subhash. >> There are duplicate printks in three places. Is there no way to avoid >> duplicate printks ? > > The printk can go just before the final "return err" in > mmc_select_powerclass(). > > Thanks, > > - Chris. > -- > Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> > One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html