revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / include / linux / kfifo.h
index c238ad2f82eae4f149e70fc7138fdd5beaa40b13..62dbee554f608c91fe7b2b3bf01f390260821c52 100644 (file)
@@ -171,8 +171,11 @@ struct kfifo_rec_ptr_2 __STRUCT_KFIFO_PTR(unsigned char, 2, void);
        }
 
 
-/* __kfifo_must_check_helper() is temporarily disabled because it was faulty */
-#define __kfifo_must_check_helper(x) (x)
+static inline unsigned int __must_check
+__kfifo_must_check_helper(unsigned int val)
+{
+       return val;
+}
 
 /**
  * kfifo_initialized - Check if the fifo is initialized