Re: [PATCH] mmc: vub300: remove unreachable return value handling

2015-01-21 Thread Ulf Hansson
On 18 January 2015 at 02:51, Nicholas Mc Guire wrote: > Signed-off-by: Nicholas Mc Guire Thanks! Applied for next. Kind regards Uffe > --- > > The return value of wait_for_completion_timeout is unsigned long, > as it is used here for wait_for_completion_timeout only the type > of commretval wa

[PATCH] mmc: vub300: remove unreachable return value handling

2015-01-17 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- The return value of wait_for_completion_timeout is unsigned long, as it is used here for wait_for_completion_timeout only the type of commretval was changed to unsigned long. As wait_for_completion_timeout does not return negative values the commretval < 0