aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorSachin Kamat <[email protected]>2013-09-30 10:12:51 +0530
committerWim Van Sebroeck <[email protected]>2013-11-17 19:37:11 +0100
commit85eee81922399ec0be1b2c870f9333b4bca56650 (patch)
tree05f4f2d7fcc5f7f028fcc2fe154a8c875e2168a9 /lib/mpi/mpi-cmp.c
parenta20a99fbb88ac58c2e118e8759967d1cd7355322 (diff)
watchdog: Remove redundant of_match_ptr
of_match_ptr() is a macro used to avoid undefined reference error if CONFIG_OF is used to selectively compile in or out the data structure. It is defined as follows: #ifdef CONFIG_OF #define of_match_ptr(ptr) ptr #else #define of_match_ptr(ptr) NULL #endif In the case of this series, none of the drivers use CONFIG_OF macro to compile out the data structure (i.e., the data structure is always defined). Hence the use of of_match_ptr() does not make any sense. Thus removing it to make the code look simpler for readability. Signed-off-by: Sachin Kamat <[email protected]> Acked-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions