ARM64: dts: rk3368: add vop display node
[firefly-linux-kernel-4.4.55.git] / fs / notify / notification.c
index 3d76e65ff84ff3aaa11ae90c44af0e23f5d89c50..e455e83ceeebc9ea5cb0b3166e10bd505cec43f1 100644 (file)
@@ -131,21 +131,6 @@ queue:
        return ret;
 }
 
-/*
- * Remove @event from group's notification queue. It is the responsibility of
- * the caller to destroy the event.
- */
-void fsnotify_remove_event(struct fsnotify_group *group,
-                          struct fsnotify_event *event)
-{
-       mutex_lock(&group->notification_mutex);
-       if (!list_empty(&event->list)) {
-               list_del_init(&event->list);
-               group->q_len--;
-       }
-       mutex_unlock(&group->notification_mutex);
-}
-
 /*
  * Remove and return the first event from the notification list.  It is the
  * responsibility of the caller to destroy the obtained event