drm/panfrost: Remove set but not used variable 'bo'
[linux/fpc-iii.git] / include / linux / memfd.h
blob4f1600413f916e9c606a8fb338dd4dd1dd607ee6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_MEMFD_H
3 #define __LINUX_MEMFD_H
5 #include <linux/file.h>
7 #ifdef CONFIG_MEMFD_CREATE
8 extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned long arg);
9 #else
10 static inline long memfd_fcntl(struct file *f, unsigned int c, unsigned long a)
12 return -EINVAL;
14 #endif
16 #endif /* __LINUX_MEMFD_H */