]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-spear: No need to check 'pdev == NULL' in probe
authorViresh Kumar <viresh.kumar@st.com>
Tue, 27 Mar 2012 03:10:34 +0000 (08:40 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 1 May 2012 14:30:10 +0000 (10:30 -0400)
commitb6d34d5b607b98c982993de19e87cba4d32d43e7
tree88ba1cef73177b8a1a1eb7766fb6a8846487c634
parent62b31e4304151635e5595bd5a1d0bbd06fba3d87
mmc: sdhci-spear: No need to check 'pdev == NULL' in probe

pdev is guaranteed to be valid in probe. And so check for non-NULL is
not required. Remove it.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-spear.c