*
* See our Documentation/kref.txt for more info. */
-#ifndef ROS_KERN_KREF_H
-#define ROS_KERN_KREF_H
+#pragma once
#include <atomic.h>
#include <assert.h>
{
panic("Cleaning up this object is not supported!\n");
}
-
-static long kref_next(struct kref *kref)
-{
- kref_get(kref, 1);
- return atomic_read(&kref->refcount);
-}
-#endif /* ROS_KERN_KREF_H */