[tree-wide] finally take no_llseek out

no_llseek had been defined to NULL two years ago, in commit 868941b144
("fs: remove no_llseek")

To quote that commit,

  At -rc1 we'll need do a mechanical removal of no_llseek -

  git grep -l -w no_llseek | grep -v porting.rst | while read i; do
	sed -i '/\<no_llseek\>/d' $i
  done

  would do it.

Unfortunately, that hadn't been done.  Linus, could you do that now, so
that we could finally put that thing to rest? All instances are of the
form
	.llseek = no_llseek,
so it's obviously safe.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2024-09-27 02:56:11 +01:00 committed by Linus Torvalds
parent 075dbe9f6e
commit cb787f4ac0
221 changed files with 0 additions and 270 deletions

View File

@ -75,7 +75,6 @@ Example conversion::
-static const struct file_operations s3c2410wdt_fops = { -static const struct file_operations s3c2410wdt_fops = {
- .owner = THIS_MODULE, - .owner = THIS_MODULE,
- .llseek = no_llseek,
- .write = s3c2410wdt_write, - .write = s3c2410wdt_write,
- .unlocked_ioctl = s3c2410wdt_ioctl, - .unlocked_ioctl = s3c2410wdt_ioctl,
- .open = s3c2410wdt_open, - .open = s3c2410wdt_open,

View File

@ -466,7 +466,6 @@ static long perf_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
} }
static const struct file_operations perf_fops = { static const struct file_operations perf_fops = {
.llseek = no_llseek,
.read = perf_read, .read = perf_read,
.write = perf_write, .write = perf_write,
.unlocked_ioctl = perf_ioctl, .unlocked_ioctl = perf_ioctl,

View File

@ -76,7 +76,6 @@ static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static const struct file_operations dbfs_ops = { static const struct file_operations dbfs_ops = {
.read = dbfs_read, .read = dbfs_read,
.llseek = no_llseek,
.unlocked_ioctl = dbfs_ioctl, .unlocked_ioctl = dbfs_ioctl,
}; };

View File

@ -443,7 +443,6 @@ static const struct file_operations hypfs_file_ops = {
.release = hypfs_release, .release = hypfs_release,
.read_iter = hypfs_read_iter, .read_iter = hypfs_read_iter,
.write_iter = hypfs_write_iter, .write_iter = hypfs_write_iter,
.llseek = no_llseek,
}; };
static struct file_system_type hypfs_type = { static struct file_system_type hypfs_type = {

View File

@ -163,7 +163,6 @@ static const struct file_operations debug_file_ops = {
.write = debug_input, .write = debug_input,
.open = debug_open, .open = debug_open,
.release = debug_close, .release = debug_close,
.llseek = no_llseek,
}; };
static struct dentry *debug_debugfs_root_entry; static struct dentry *debug_debugfs_root_entry;

View File

@ -1698,7 +1698,6 @@ static const struct file_operations cfset_fops = {
.release = cfset_release, .release = cfset_release,
.unlocked_ioctl = cfset_ioctl, .unlocked_ioctl = cfset_ioctl,
.compat_ioctl = cfset_ioctl, .compat_ioctl = cfset_ioctl,
.llseek = no_llseek
}; };
static struct miscdevice cfset_dev = { static struct miscdevice cfset_dev = {

View File

@ -498,7 +498,6 @@ static const struct file_operations stsi_##fc##_##s1##_##s2##_fs_ops = { \
.open = stsi_open_##fc##_##s1##_##s2, \ .open = stsi_open_##fc##_##s1##_##s2, \
.release = stsi_release, \ .release = stsi_release, \
.read = stsi_read, \ .read = stsi_read, \
.llseek = no_llseek, \
}; };
static int stsi_release(struct inode *inode, struct file *file) static int stsi_release(struct inode *inode, struct file *file)

View File

@ -657,7 +657,6 @@ static const struct file_operations clp_misc_fops = {
.release = clp_misc_release, .release = clp_misc_release,
.unlocked_ioctl = clp_misc_ioctl, .unlocked_ioctl = clp_misc_ioctl,
.compat_ioctl = clp_misc_ioctl, .compat_ioctl = clp_misc_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice clp_misc_device = { static struct miscdevice clp_misc_device = {

View File

@ -164,7 +164,6 @@ static const struct file_operations harddog_fops = {
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.open = harddog_open, .open = harddog_open,
.release = harddog_release, .release = harddog_release,
.llseek = no_llseek,
}; };
static struct miscdevice harddog_miscdev = { static struct miscdevice harddog_miscdev = {

View File

@ -291,7 +291,6 @@ static int hostmixer_release(struct inode *inode, struct file *file)
static const struct file_operations hostaudio_fops = { static const struct file_operations hostaudio_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = hostaudio_read, .read = hostaudio_read,
.write = hostaudio_write, .write = hostaudio_write,
.poll = hostaudio_poll, .poll = hostaudio_poll,
@ -304,7 +303,6 @@ static const struct file_operations hostaudio_fops = {
static const struct file_operations hostmixer_fops = { static const struct file_operations hostmixer_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.unlocked_ioctl = hostmixer_ioctl_mixdev, .unlocked_ioctl = hostmixer_ioctl_mixdev,
.open = hostmixer_open_mixdev, .open = hostmixer_open_mixdev,
.release = hostmixer_release, .release = hostmixer_release,

View File

@ -331,7 +331,6 @@ static const struct file_operations mce_chrdev_ops = {
.poll = mce_chrdev_poll, .poll = mce_chrdev_poll,
.unlocked_ioctl = mce_chrdev_ioctl, .unlocked_ioctl = mce_chrdev_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice mce_chrdev_device = { static struct miscdevice mce_chrdev_device = {

View File

@ -1567,7 +1567,6 @@ static int pseudo_lock_dev_mmap(struct file *filp, struct vm_area_struct *vma)
static const struct file_operations pseudo_lock_dev_fops = { static const struct file_operations pseudo_lock_dev_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = NULL, .read = NULL,
.write = NULL, .write = NULL,
.open = pseudo_lock_dev_open, .open = pseudo_lock_dev_open,

View File

@ -199,7 +199,6 @@ static const struct file_operations erst_dbg_ops = {
.read = erst_dbg_read, .read = erst_dbg_read,
.write = erst_dbg_write, .write = erst_dbg_write,
.unlocked_ioctl = erst_dbg_ioctl, .unlocked_ioctl = erst_dbg_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice erst_dbg_dev = { static struct miscdevice erst_dbg_dev = {

View File

@ -526,7 +526,6 @@ static const struct file_operations charlcd_fops = {
.write = charlcd_write, .write = charlcd_write,
.open = charlcd_open, .open = charlcd_open,
.release = charlcd_release, .release = charlcd_release,
.llseek = no_llseek,
}; };
static struct miscdevice charlcd_dev = { static struct miscdevice charlcd_dev = {

View File

@ -2259,14 +2259,12 @@ static const struct file_operations mtip_regs_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = simple_open, .open = simple_open,
.read = mtip_hw_read_registers, .read = mtip_hw_read_registers,
.llseek = no_llseek,
}; };
static const struct file_operations mtip_flags_fops = { static const struct file_operations mtip_flags_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = simple_open, .open = simple_open,
.read = mtip_hw_read_flags, .read = mtip_hw_read_flags,
.llseek = no_llseek,
}; };
static void mtip_hw_debugfs_init(struct driver_data *dd) static void mtip_hw_debugfs_init(struct driver_data *dd)

View File

@ -2835,7 +2835,6 @@ static const struct file_operations pkt_ctl_fops = {
.compat_ioctl = pkt_ctl_compat_ioctl, .compat_ioctl = pkt_ctl_compat_ioctl,
#endif #endif
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
}; };
static struct miscdevice pkt_misc = { static struct miscdevice pkt_misc = {

View File

@ -1983,7 +1983,6 @@ static const struct file_operations ublk_ch_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = ublk_ch_open, .open = ublk_ch_open,
.release = ublk_ch_release, .release = ublk_ch_release,
.llseek = no_llseek,
.read_iter = ublk_ch_read_iter, .read_iter = ublk_ch_read_iter,
.write_iter = ublk_ch_write_iter, .write_iter = ublk_ch_write_iter,
.uring_cmd = ublk_ch_uring_cmd, .uring_cmd = ublk_ch_uring_cmd,

View File

@ -679,7 +679,6 @@ static const struct file_operations vhci_fops = {
.poll = vhci_poll, .poll = vhci_poll,
.open = vhci_open, .open = vhci_open,
.release = vhci_release, .release = vhci_release,
.llseek = no_llseek,
}; };
static struct miscdevice vhci_miscdev = { static struct miscdevice vhci_miscdev = {

View File

@ -484,7 +484,6 @@ static const struct file_operations input_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = moxtet_debug_open, .open = moxtet_debug_open,
.read = input_read, .read = input_read,
.llseek = no_llseek,
}; };
static ssize_t output_read(struct file *file, char __user *buf, size_t len, static ssize_t output_read(struct file *file, char __user *buf, size_t len,
@ -549,7 +548,6 @@ static const struct file_operations output_fops = {
.open = moxtet_debug_open, .open = moxtet_debug_open,
.read = output_read, .read = output_read,
.write = output_write, .write = output_write,
.llseek = no_llseek,
}; };
static int moxtet_register_debugfs(struct moxtet *moxtet) static int moxtet_register_debugfs(struct moxtet *moxtet)

View File

@ -111,7 +111,6 @@ static irqreturn_t ac_interrupt(int, void *);
static const struct file_operations ac_fops = { static const struct file_operations ac_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = ac_read, .read = ac_read,
.write = ac_write, .write = ac_write,
.unlocked_ioctl = ac_ioctl, .unlocked_ioctl = ac_ioctl,

View File

@ -353,7 +353,6 @@ static const struct file_operations ds1620_fops = {
.open = ds1620_open, .open = ds1620_open,
.read = ds1620_read, .read = ds1620_read,
.unlocked_ioctl = ds1620_unlocked_ioctl, .unlocked_ioctl = ds1620_unlocked_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice ds1620_miscdev = { static struct miscdevice ds1620_miscdev = {

View File

@ -107,7 +107,6 @@ static const struct file_operations dtlk_fops =
.unlocked_ioctl = dtlk_ioctl, .unlocked_ioctl = dtlk_ioctl,
.open = dtlk_open, .open = dtlk_open,
.release = dtlk_release, .release = dtlk_release,
.llseek = no_llseek,
}; };
/* local prototypes */ /* local prototypes */

View File

@ -700,7 +700,6 @@ hpet_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static const struct file_operations hpet_fops = { static const struct file_operations hpet_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = hpet_read, .read = hpet_read,
.poll = hpet_poll, .poll = hpet_poll,
.unlocked_ioctl = hpet_ioctl, .unlocked_ioctl = hpet_ioctl,

View File

@ -903,7 +903,6 @@ static const struct file_operations ipmi_wdog_fops = {
.open = ipmi_open, .open = ipmi_open,
.release = ipmi_close, .release = ipmi_close,
.fasync = ipmi_fasync, .fasync = ipmi_fasync,
.llseek = no_llseek,
}; };
static struct miscdevice ipmi_wdog_miscdev = { static struct miscdevice ipmi_wdog_miscdev = {

View File

@ -235,7 +235,6 @@ static const struct file_operations pc8736x_gpio_fileops = {
.open = pc8736x_gpio_open, .open = pc8736x_gpio_open,
.write = nsc_gpio_write, .write = nsc_gpio_write,
.read = nsc_gpio_read, .read = nsc_gpio_read,
.llseek = no_llseek,
}; };
static void __init pc8736x_init_shadow(void) static void __init pc8736x_init_shadow(void)

View File

@ -786,7 +786,6 @@ static const struct class ppdev_class = {
static const struct file_operations pp_fops = { static const struct file_operations pp_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = pp_read, .read = pp_read,
.write = pp_write, .write = pp_write,
.poll = pp_poll, .poll = pp_poll,

View File

@ -68,7 +68,6 @@ static const struct file_operations scx200_gpio_fileops = {
.read = nsc_gpio_read, .read = nsc_gpio_read,
.open = scx200_gpio_open, .open = scx200_gpio_open,
.release = scx200_gpio_release, .release = scx200_gpio_release,
.llseek = no_llseek,
}; };
static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */ static struct cdev scx200_gpio_cdev; /* use 1 cdev for all pins */

View File

@ -1054,7 +1054,6 @@ static const struct file_operations sonypi_misc_fops = {
.release = sonypi_misc_release, .release = sonypi_misc_release,
.fasync = sonypi_misc_fasync, .fasync = sonypi_misc_fasync,
.unlocked_ioctl = sonypi_misc_ioctl, .unlocked_ioctl = sonypi_misc_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice sonypi_misc_device = { static struct miscdevice sonypi_misc_device = {

View File

@ -59,7 +59,6 @@ static int tpm_release(struct inode *inode, struct file *file)
const struct file_operations tpm_fops = { const struct file_operations tpm_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.open = tpm_open, .open = tpm_open,
.read = tpm_common_read, .read = tpm_common_read,
.write = tpm_common_write, .write = tpm_common_write,

View File

@ -243,7 +243,6 @@ static int vtpm_proxy_fops_release(struct inode *inode, struct file *filp)
static const struct file_operations vtpm_proxy_fops = { static const struct file_operations vtpm_proxy_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = vtpm_proxy_fops_read, .read = vtpm_proxy_fops_read,
.write = vtpm_proxy_fops_write, .write = vtpm_proxy_fops_write,
.poll = vtpm_proxy_fops_poll, .poll = vtpm_proxy_fops_poll,

View File

@ -46,7 +46,6 @@ static int tpmrm_release(struct inode *inode, struct file *file)
const struct file_operations tpmrm_fops = { const struct file_operations tpmrm_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.open = tpmrm_open, .open = tpmrm_open,
.read = tpm_common_read, .read = tpm_common_read,
.write = tpm_common_write, .write = tpm_common_write,

View File

@ -1093,7 +1093,6 @@ static const struct file_operations port_fops = {
.poll = port_fops_poll, .poll = port_fops_poll,
.release = port_fops_release, .release = port_fops_release,
.fasync = port_fops_fasync, .fasync = port_fops_fasync,
.llseek = no_llseek,
}; };
/* /*

View File

@ -454,7 +454,6 @@ out_unlock:
static const struct file_operations counter_fops = { static const struct file_operations counter_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = counter_chrdev_read, .read = counter_chrdev_read,
.poll = counter_chrdev_poll, .poll = counter_chrdev_poll,
.unlocked_ioctl = counter_chrdev_ioctl, .unlocked_ioctl = counter_chrdev_ioctl,

View File

@ -1911,7 +1911,6 @@ static __poll_t fw_device_op_poll(struct file *file, poll_table * pt)
const struct file_operations fw_device_ops = { const struct file_operations fw_device_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.open = fw_device_op_open, .open = fw_device_op_open,
.read = fw_device_op_read, .read = fw_device_op_read,
.unlocked_ioctl = fw_device_op_ioctl, .unlocked_ioctl = fw_device_op_ioctl,

View File

@ -2886,7 +2886,6 @@ static ssize_t reset_all_on_write(struct file *filp, const char __user *buf,
static const struct file_operations fops_reset_counts = { static const struct file_operations fops_reset_counts = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = simple_open, .open = simple_open,
.llseek = no_llseek,
.write = reset_all_on_write, .write = reset_all_on_write,
}; };

View File

@ -950,7 +950,6 @@ static const struct file_operations scmi_dbg_raw_mode_reset_fops = {
.open = scmi_dbg_raw_mode_open, .open = scmi_dbg_raw_mode_open,
.release = scmi_dbg_raw_mode_release, .release = scmi_dbg_raw_mode_release,
.write = scmi_dbg_raw_mode_reset_write, .write = scmi_dbg_raw_mode_reset_write,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
@ -960,7 +959,6 @@ static const struct file_operations scmi_dbg_raw_mode_message_fops = {
.read = scmi_dbg_raw_mode_message_read, .read = scmi_dbg_raw_mode_message_read,
.write = scmi_dbg_raw_mode_message_write, .write = scmi_dbg_raw_mode_message_write,
.poll = scmi_dbg_raw_mode_message_poll, .poll = scmi_dbg_raw_mode_message_poll,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
@ -977,7 +975,6 @@ static const struct file_operations scmi_dbg_raw_mode_message_async_fops = {
.read = scmi_dbg_raw_mode_message_read, .read = scmi_dbg_raw_mode_message_read,
.write = scmi_dbg_raw_mode_message_async_write, .write = scmi_dbg_raw_mode_message_async_write,
.poll = scmi_dbg_raw_mode_message_poll, .poll = scmi_dbg_raw_mode_message_poll,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
@ -1001,7 +998,6 @@ static const struct file_operations scmi_dbg_raw_mode_notification_fops = {
.release = scmi_dbg_raw_mode_release, .release = scmi_dbg_raw_mode_release,
.read = scmi_test_dbg_raw_mode_notif_read, .read = scmi_test_dbg_raw_mode_notif_read,
.poll = scmi_test_dbg_raw_mode_notif_poll, .poll = scmi_test_dbg_raw_mode_notif_poll,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };
@ -1025,7 +1021,6 @@ static const struct file_operations scmi_dbg_raw_mode_errors_fops = {
.release = scmi_dbg_raw_mode_release, .release = scmi_dbg_raw_mode_release,
.read = scmi_test_dbg_raw_mode_errors_read, .read = scmi_test_dbg_raw_mode_errors_read,
.poll = scmi_test_dbg_raw_mode_errors_poll, .poll = scmi_test_dbg_raw_mode_errors_poll,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -309,7 +309,6 @@ static const struct file_operations efi_capsule_fops = {
.open = efi_capsule_open, .open = efi_capsule_open,
.write = efi_capsule_write, .write = efi_capsule_write,
.release = efi_capsule_release, .release = efi_capsule_release,
.llseek = no_llseek,
}; };
static struct miscdevice efi_capsule_misc = { static struct miscdevice efi_capsule_misc = {

View File

@ -750,7 +750,6 @@ static const struct file_operations efi_test_fops = {
.unlocked_ioctl = efi_test_ioctl, .unlocked_ioctl = efi_test_ioctl,
.open = efi_test_open, .open = efi_test_open,
.release = efi_test_close, .release = efi_test_close,
.llseek = no_llseek,
}; };
static struct miscdevice efi_test_dev = { static struct miscdevice efi_test_dev = {

View File

@ -386,7 +386,6 @@ static const struct file_operations do_sign_fops = {
.open = rwtm_debug_open, .open = rwtm_debug_open,
.read = do_sign_read, .read = do_sign_read,
.write = do_sign_write, .write = do_sign_write,
.llseek = no_llseek,
}; };
static void rwtm_debugfs_release(void *root) static void rwtm_debugfs_release(void *root)

View File

@ -206,7 +206,6 @@ static const struct file_operations gnss_fops = {
.read = gnss_read, .read = gnss_read,
.write = gnss_write, .write = gnss_write,
.poll = gnss_poll, .poll = gnss_poll,
.llseek = no_llseek,
}; };
static struct class *gnss_class; static struct class *gnss_class;

View File

@ -347,7 +347,6 @@ static const struct file_operations gpio_mockup_debugfs_ops = {
.open = gpio_mockup_debugfs_open, .open = gpio_mockup_debugfs_open,
.read = gpio_mockup_debugfs_read, .read = gpio_mockup_debugfs_read,
.write = gpio_mockup_debugfs_write, .write = gpio_mockup_debugfs_write,
.llseek = no_llseek,
.release = single_release, .release = single_release,
}; };

View File

@ -217,7 +217,6 @@ static const struct file_operations fops_trigger = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = trigger_open, .open = trigger_open,
.write = trigger_write, .write = trigger_write,
.llseek = no_llseek,
.release = single_release, .release = single_release,
}; };

View File

@ -2842,7 +2842,6 @@ static const struct file_operations gpio_fileops = {
.poll = lineinfo_watch_poll, .poll = lineinfo_watch_poll,
.read = lineinfo_watch_read, .read = lineinfo_watch_read,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.unlocked_ioctl = gpio_ioctl, .unlocked_ioctl = gpio_ioctl,
#ifdef CONFIG_COMPAT #ifdef CONFIG_COMPAT
.compat_ioctl = gpio_ioctl_compat, .compat_ioctl = gpio_ioctl_compat,

View File

@ -103,7 +103,6 @@ bool drm_dev_needs_global_mutex(struct drm_device *dev)
* .compat_ioctl = drm_compat_ioctl, // NULL if CONFIG_COMPAT=n * .compat_ioctl = drm_compat_ioctl, // NULL if CONFIG_COMPAT=n
* .poll = drm_poll, * .poll = drm_poll,
* .read = drm_read, * .read = drm_read,
* .llseek = no_llseek,
* .mmap = drm_gem_mmap, * .mmap = drm_gem_mmap,
* }; * };
* *

View File

@ -3751,7 +3751,6 @@ static int i915_perf_release(struct inode *inode, struct file *file)
static const struct file_operations fops = { static const struct file_operations fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.release = i915_perf_release, .release = i915_perf_release,
.poll = i915_perf_poll, .poll = i915_perf_poll,
.read = i915_perf_read, .read = i915_perf_read,

View File

@ -192,7 +192,6 @@ static const struct file_operations perf_debugfs_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = perf_open, .open = perf_open,
.read = perf_read, .read = perf_read,
.llseek = no_llseek,
.release = perf_release, .release = perf_release,
}; };

View File

@ -227,7 +227,6 @@ static const struct file_operations rd_debugfs_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = rd_open, .open = rd_open,
.read = rd_read, .read = rd_read,
.llseek = no_llseek,
.release = rd_release, .release = rd_release,
}; };

View File

@ -1263,7 +1263,6 @@ static int xe_oa_mmap(struct file *file, struct vm_area_struct *vma)
static const struct file_operations xe_oa_fops = { static const struct file_operations xe_oa_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.release = xe_oa_release, .release = xe_oa_release,
.poll = xe_oa_poll, .poll = xe_oa_poll,
.read = xe_oa_read, .read = xe_oa_read,

View File

@ -803,7 +803,6 @@ static const struct file_operations uhid_fops = {
.read = uhid_char_read, .read = uhid_char_read,
.write = uhid_char_write, .write = uhid_char_write,
.poll = uhid_char_poll, .poll = uhid_char_poll,
.llseek = no_llseek,
}; };
static struct miscdevice uhid_misc = { static struct miscdevice uhid_misc = {

View File

@ -783,7 +783,6 @@ static const struct file_operations atk_debugfs_ggrp_fops = {
.read = atk_debugfs_ggrp_read, .read = atk_debugfs_ggrp_read,
.open = atk_debugfs_ggrp_open, .open = atk_debugfs_ggrp_open,
.release = atk_debugfs_ggrp_release, .release = atk_debugfs_ggrp_release,
.llseek = no_llseek,
}; };
static void atk_debugfs_init(struct atk_data *data) static void atk_debugfs_init(struct atk_data *data)

View File

@ -948,7 +948,6 @@ static long watchdog_ioctl(struct file *filp, unsigned int cmd,
static const struct file_operations watchdog_fops = { static const struct file_operations watchdog_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.open = watchdog_open, .open = watchdog_open,
.release = watchdog_release, .release = watchdog_release,
.write = watchdog_write, .write = watchdog_write,

View File

@ -1451,7 +1451,6 @@ static long watchdog_ioctl(struct file *filp, unsigned int cmd,
static const struct file_operations watchdog_fops = { static const struct file_operations watchdog_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.open = watchdog_open, .open = watchdog_open,
.release = watchdog_close, .release = watchdog_close,
.write = watchdog_write, .write = watchdog_write,

View File

@ -652,7 +652,6 @@ static const struct file_operations etb_fops = {
.open = etb_open, .open = etb_open,
.read = etb_read, .read = etb_read,
.release = etb_release, .release = etb_release,
.llseek = no_llseek,
}; };
static struct attribute *coresight_etb_mgmt_attrs[] = { static struct attribute *coresight_etb_mgmt_attrs[] = {

View File

@ -220,7 +220,6 @@ static const struct file_operations tmc_fops = {
.open = tmc_open, .open = tmc_open,
.read = tmc_read, .read = tmc_read,
.release = tmc_release, .release = tmc_release,
.llseek = no_llseek,
}; };
static enum tmc_mem_intf_width tmc_get_memwidth(u32 devid) static enum tmc_mem_intf_width tmc_get_memwidth(u32 devid)

View File

@ -163,7 +163,6 @@ static const struct file_operations smb_fops = {
.open = smb_open, .open = smb_open,
.read = smb_read, .read = smb_read,
.release = smb_release, .release = smb_release,
.llseek = no_llseek,
}; };
static ssize_t buf_size_show(struct device *dev, struct device_attribute *attr, static ssize_t buf_size_show(struct device *dev, struct device_attribute *attr,

View File

@ -1677,7 +1677,6 @@ static const struct file_operations intel_th_msc_fops = {
.release = intel_th_msc_release, .release = intel_th_msc_release,
.read = intel_th_msc_read, .read = intel_th_msc_read,
.mmap = intel_th_msc_mmap, .mmap = intel_th_msc_mmap,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -839,7 +839,6 @@ static const struct file_operations stm_fops = {
.mmap = stm_char_mmap, .mmap = stm_char_mmap,
.unlocked_ioctl = stm_char_ioctl, .unlocked_ioctl = stm_char_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.llseek = no_llseek,
}; };
static void stm_device_release(struct device *dev) static void stm_device_release(struct device *dev)

View File

@ -637,7 +637,6 @@ static int i2cdev_release(struct inode *inode, struct file *file)
static const struct file_operations i2cdev_fops = { static const struct file_operations i2cdev_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = i2cdev_read, .read = i2cdev_read,
.write = i2cdev_write, .write = i2cdev_write,
.unlocked_ioctl = i2cdev_ioctl, .unlocked_ioctl = i2cdev_ioctl,

View File

@ -1817,7 +1817,6 @@ static const struct file_operations ucma_fops = {
.release = ucma_close, .release = ucma_close,
.write = ucma_write, .write = ucma_write,
.poll = ucma_poll, .poll = ucma_poll,
.llseek = no_llseek,
}; };
static struct miscdevice ucma_misc = { static struct miscdevice ucma_misc = {

View File

@ -1082,7 +1082,6 @@ static const struct file_operations umad_fops = {
#endif #endif
.open = ib_umad_open, .open = ib_umad_open,
.release = ib_umad_close, .release = ib_umad_close,
.llseek = no_llseek,
}; };
static int ib_umad_sm_open(struct inode *inode, struct file *filp) static int ib_umad_sm_open(struct inode *inode, struct file *filp)
@ -1150,7 +1149,6 @@ static const struct file_operations umad_sm_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = ib_umad_sm_open, .open = ib_umad_sm_open,
.release = ib_umad_sm_close, .release = ib_umad_sm_close,
.llseek = no_llseek,
}; };
static struct ib_umad_port *get_port(struct ib_device *ibdev, static struct ib_umad_port *get_port(struct ib_device *ibdev,

View File

@ -353,7 +353,6 @@ const struct file_operations uverbs_event_fops = {
.poll = ib_uverbs_comp_event_poll, .poll = ib_uverbs_comp_event_poll,
.release = uverbs_uobject_fd_release, .release = uverbs_uobject_fd_release,
.fasync = ib_uverbs_comp_event_fasync, .fasync = ib_uverbs_comp_event_fasync,
.llseek = no_llseek,
}; };
const struct file_operations uverbs_async_event_fops = { const struct file_operations uverbs_async_event_fops = {
@ -362,7 +361,6 @@ const struct file_operations uverbs_async_event_fops = {
.poll = ib_uverbs_async_event_poll, .poll = ib_uverbs_async_event_poll,
.release = uverbs_async_event_release, .release = uverbs_async_event_release,
.fasync = ib_uverbs_async_event_fasync, .fasync = ib_uverbs_async_event_fasync,
.llseek = no_llseek,
}; };
void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context) void ib_uverbs_comp_handler(struct ib_cq *cq, void *cq_context)
@ -991,7 +989,6 @@ static const struct file_operations uverbs_fops = {
.write = ib_uverbs_write, .write = ib_uverbs_write,
.open = ib_uverbs_open, .open = ib_uverbs_open,
.release = ib_uverbs_close, .release = ib_uverbs_close,
.llseek = no_llseek,
.unlocked_ioctl = ib_uverbs_ioctl, .unlocked_ioctl = ib_uverbs_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
}; };
@ -1002,7 +999,6 @@ static const struct file_operations uverbs_mmap_fops = {
.mmap = ib_uverbs_mmap, .mmap = ib_uverbs_mmap,
.open = ib_uverbs_open, .open = ib_uverbs_open,
.release = ib_uverbs_close, .release = ib_uverbs_close,
.llseek = no_llseek,
.unlocked_ioctl = ib_uverbs_ioctl, .unlocked_ioctl = ib_uverbs_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
}; };

View File

@ -203,7 +203,6 @@ static const struct file_operations __fault_opcodes_fops = {
.open = fault_opcodes_open, .open = fault_opcodes_open,
.read = fault_opcodes_read, .read = fault_opcodes_read,
.write = fault_opcodes_write, .write = fault_opcodes_write,
.llseek = no_llseek
}; };
void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd) void hfi1_fault_exit_debugfs(struct hfi1_ibdev *ibd)

View File

@ -2673,7 +2673,6 @@ static const struct file_operations devx_async_cmd_event_fops = {
.read = devx_async_cmd_event_read, .read = devx_async_cmd_event_read,
.poll = devx_async_cmd_event_poll, .poll = devx_async_cmd_event_poll,
.release = uverbs_uobject_fd_release, .release = uverbs_uobject_fd_release,
.llseek = no_llseek,
}; };
static ssize_t devx_async_event_read(struct file *filp, char __user *buf, static ssize_t devx_async_event_read(struct file *filp, char __user *buf,
@ -2788,7 +2787,6 @@ static const struct file_operations devx_async_event_fops = {
.read = devx_async_event_read, .read = devx_async_event_read,
.poll = devx_async_event_poll, .poll = devx_async_event_poll,
.release = uverbs_uobject_fd_release, .release = uverbs_uobject_fd_release,
.llseek = no_llseek,
}; };
static void devx_async_cmd_event_destroy_uobj(struct ib_uobject *uobj, static void devx_async_cmd_event_destroy_uobj(struct ib_uobject *uobj,

View File

@ -1299,7 +1299,6 @@ static const struct file_operations evdev_fops = {
.compat_ioctl = evdev_ioctl_compat, .compat_ioctl = evdev_ioctl_compat,
#endif #endif
.fasync = evdev_fasync, .fasync = evdev_fasync,
.llseek = no_llseek,
}; };
/* /*

View File

@ -718,7 +718,6 @@ static const struct file_operations joydev_fops = {
.compat_ioctl = joydev_compat_ioctl, .compat_ioctl = joydev_compat_ioctl,
#endif #endif
.fasync = joydev_fasync, .fasync = joydev_fasync,
.llseek = no_llseek,
}; };
/* /*

View File

@ -1007,7 +1007,6 @@ static const struct file_operations applespi_tp_dim_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = applespi_tp_dim_open, .open = applespi_tp_dim_open,
.read = applespi_tp_dim_read, .read = applespi_tp_dim_read,
.llseek = no_llseek,
}; };
static void report_finger_data(struct input_dev *input, int slot, static void report_finger_data(struct input_dev *input, int slot,

View File

@ -1132,7 +1132,6 @@ static const struct file_operations uinput_fops = {
#ifdef CONFIG_COMPAT #ifdef CONFIG_COMPAT
.compat_ioctl = uinput_compat_ioctl, .compat_ioctl = uinput_compat_ioctl,
#endif #endif
.llseek = no_llseek,
}; };
static struct miscdevice uinput_misc = { static struct miscdevice uinput_misc = {

View File

@ -267,7 +267,6 @@ static const struct file_operations userio_fops = {
.read = userio_char_read, .read = userio_char_read,
.write = userio_char_write, .write = userio_char_write,
.poll = userio_char_poll, .poll = userio_char_poll,
.llseek = no_llseek,
}; };
static struct miscdevice userio_misc = { static struct miscdevice userio_misc = {

View File

@ -360,7 +360,6 @@ static const struct file_operations iommufd_fault_fops = {
.write = iommufd_fault_fops_write, .write = iommufd_fault_fops_write,
.poll = iommufd_fault_fops_poll, .poll = iommufd_fault_fops_poll,
.release = iommufd_fault_fops_release, .release = iommufd_fault_fops_release,
.llseek = no_llseek,
}; };
int iommufd_fault_alloc(struct iommufd_ucmd *ucmd) int iommufd_fault_alloc(struct iommufd_ucmd *ucmd)

View File

@ -1024,7 +1024,6 @@ static int capi_release(struct inode *inode, struct file *file)
static const struct file_operations capi_fops = static const struct file_operations capi_fops =
{ {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = capi_read, .read = capi_read,
.write = capi_write, .write = capi_write,
.poll = capi_poll, .poll = capi_poll,

View File

@ -266,7 +266,6 @@ static const struct file_operations mISDN_fops = {
.unlocked_ioctl = mISDN_ioctl, .unlocked_ioctl = mISDN_ioctl,
.open = mISDN_open, .open = mISDN_open,
.release = mISDN_close, .release = mISDN_close,
.llseek = no_llseek,
}; };
static struct miscdevice mISDNtimer = { static struct miscdevice mISDNtimer = {

View File

@ -200,7 +200,6 @@ static const struct file_operations uleds_fops = {
.read = uleds_read, .read = uleds_read,
.write = uleds_write, .write = uleds_write,
.poll = uleds_poll, .poll = uleds_poll,
.llseek = no_llseek,
}; };
static struct miscdevice uleds_misc = { static struct miscdevice uleds_misc = {

View File

@ -842,7 +842,6 @@ out:
static const struct file_operations adb_fops = { static const struct file_operations adb_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = adb_read, .read = adb_read,
.write = adb_write, .write = adb_write,
.open = adb_open, .open = adb_open,

View File

@ -1314,7 +1314,6 @@ static int smu_release(struct inode *inode, struct file *file)
static const struct file_operations smu_device_fops = { static const struct file_operations smu_device_fops = {
.llseek = no_llseek,
.read = smu_read, .read = smu_read,
.write = smu_write, .write = smu_write,
.poll = smu_fpoll, .poll = smu_fpoll,

View File

@ -698,5 +698,4 @@ const struct file_operations cec_devnode_fops = {
.compat_ioctl = cec_ioctl, .compat_ioctl = cec_ioctl,
.release = cec_release, .release = cec_release,
.poll = cec_poll, .poll = cec_poll,
.llseek = no_llseek,
}; };

View File

@ -204,7 +204,6 @@ static const struct file_operations media_devnode_fops = {
#endif /* CONFIG_COMPAT */ #endif /* CONFIG_COMPAT */
.release = media_release, .release = media_release,
.poll = media_poll, .poll = media_poll,
.llseek = no_llseek,
}; };
int __must_check media_devnode_register(struct media_device *mdev, int __must_check media_devnode_register(struct media_device *mdev,

View File

@ -706,7 +706,6 @@ static const struct file_operations lirc_fops = {
.poll = lirc_poll, .poll = lirc_poll,
.open = lirc_open, .open = lirc_open,
.release = lirc_close, .release = lirc_close,
.llseek = no_llseek,
}; };
static void lirc_release_device(struct device *ld) static void lirc_release_device(struct device *ld)

View File

@ -59,7 +59,6 @@ static int uvc_debugfs_stats_release(struct inode *inode, struct file *file)
static const struct file_operations uvc_debugfs_stats_fops = { static const struct file_operations uvc_debugfs_stats_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = uvc_debugfs_stats_open, .open = uvc_debugfs_stats_open,
.llseek = no_llseek,
.read = uvc_debugfs_stats_read, .read = uvc_debugfs_stats_read,
.release = uvc_debugfs_stats_release, .release = uvc_debugfs_stats_release,
}; };

View File

@ -483,7 +483,6 @@ static const struct file_operations v4l2_fops = {
#endif #endif
.release = v4l2_release, .release = v4l2_release,
.poll = v4l2_poll, .poll = v4l2_poll,
.llseek = no_llseek,
}; };
/** /**

View File

@ -2691,7 +2691,6 @@ mptctl_hp_targetinfo(MPT_ADAPTER *ioc, unsigned long arg)
static const struct file_operations mptctl_fops = { static const struct file_operations mptctl_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.fasync = mptctl_fasync, .fasync = mptctl_fasync,
.unlocked_ioctl = mptctl_ioctl, .unlocked_ioctl = mptctl_ioctl,
#ifdef CONFIG_COMPAT #ifdef CONFIG_COMPAT

View File

@ -669,7 +669,6 @@ static int lis3lv02d_misc_fasync(int fd, struct file *file, int on)
static const struct file_operations lis3lv02d_misc_fops = { static const struct file_operations lis3lv02d_misc_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = lis3lv02d_misc_read, .read = lis3lv02d_misc_read,
.open = lis3lv02d_misc_open, .open = lis3lv02d_misc_open,
.release = lis3lv02d_misc_release, .release = lis3lv02d_misc_release,

View File

@ -1176,7 +1176,6 @@ static const struct file_operations mei_fops = {
.poll = mei_poll, .poll = mei_poll,
.fsync = mei_fsync, .fsync = mei_fsync,
.fasync = mei_fasync, .fasync = mei_fasync,
.llseek = no_llseek
}; };
/** /**

View File

@ -126,7 +126,6 @@ static const struct file_operations ntsync_obj_fops = {
.release = ntsync_obj_release, .release = ntsync_obj_release,
.unlocked_ioctl = ntsync_obj_ioctl, .unlocked_ioctl = ntsync_obj_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.llseek = no_llseek,
}; };
static struct ntsync_obj *ntsync_alloc_obj(struct ntsync_device *dev, static struct ntsync_obj *ntsync_alloc_obj(struct ntsync_device *dev,
@ -233,7 +232,6 @@ static const struct file_operations ntsync_fops = {
.release = ntsync_char_release, .release = ntsync_char_release,
.unlocked_ioctl = ntsync_char_ioctl, .unlocked_ioctl = ntsync_char_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.llseek = no_llseek,
}; };
static struct miscdevice ntsync_misc = { static struct miscdevice ntsync_misc = {

View File

@ -279,7 +279,6 @@ static const struct file_operations phantom_file_ops = {
.unlocked_ioctl = phantom_ioctl, .unlocked_ioctl = phantom_ioctl,
.compat_ioctl = phantom_compat_ioctl, .compat_ioctl = phantom_compat_ioctl,
.poll = phantom_poll, .poll = phantom_poll,
.llseek = no_llseek,
}; };
static irqreturn_t phantom_isr(int irq, void *data) static irqreturn_t phantom_isr(int irq, void *data)

View File

@ -2734,7 +2734,6 @@ static const struct file_operations mmc_rpmb_fileops = {
.release = mmc_rpmb_chrdev_release, .release = mmc_rpmb_chrdev_release,
.open = mmc_rpmb_chrdev_open, .open = mmc_rpmb_chrdev_open,
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.unlocked_ioctl = mmc_rpmb_ioctl, .unlocked_ioctl = mmc_rpmb_ioctl,
#ifdef CONFIG_COMPAT #ifdef CONFIG_COMPAT
.compat_ioctl = mmc_rpmb_ioctl_compat, .compat_ioctl = mmc_rpmb_ioctl_compat,

View File

@ -1095,7 +1095,6 @@ const struct file_operations ubi_vol_cdev_operations = {
/* UBI character device operations */ /* UBI character device operations */
const struct file_operations ubi_cdev_operations = { const struct file_operations ubi_cdev_operations = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.unlocked_ioctl = ubi_cdev_ioctl, .unlocked_ioctl = ubi_cdev_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
}; };
@ -1105,5 +1104,4 @@ const struct file_operations ubi_ctrl_cdev_operations = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.unlocked_ioctl = ctrl_cdev_ioctl, .unlocked_ioctl = ctrl_cdev_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
.llseek = no_llseek,
}; };

View File

@ -470,7 +470,6 @@ static const struct file_operations dfs_fops = {
.read = dfs_file_read, .read = dfs_file_read,
.write = dfs_file_write, .write = dfs_file_write,
.open = simple_open, .open = simple_open,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -1414,7 +1414,6 @@ out:
static const struct file_operations nsim_nexthop_bucket_activity_fops = { static const struct file_operations nsim_nexthop_bucket_activity_fops = {
.open = simple_open, .open = simple_open,
.write = nsim_nexthop_bucket_activity_write, .write = nsim_nexthop_bucket_activity_write,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -1162,7 +1162,6 @@ static const struct file_operations tap_fops = {
.read_iter = tap_read_iter, .read_iter = tap_read_iter,
.write_iter = tap_write_iter, .write_iter = tap_write_iter,
.poll = tap_poll, .poll = tap_poll,
.llseek = no_llseek,
.unlocked_ioctl = tap_ioctl, .unlocked_ioctl = tap_ioctl,
.compat_ioctl = compat_ptr_ioctl, .compat_ioctl = compat_ptr_ioctl,
}; };

View File

@ -3543,7 +3543,6 @@ static void tun_chr_show_fdinfo(struct seq_file *m, struct file *file)
static const struct file_operations tun_fops = { static const struct file_operations tun_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read_iter = tun_chr_read_iter, .read_iter = tun_chr_read_iter,
.write_iter = tun_chr_write_iter, .write_iter = tun_chr_write_iter,
.poll = tun_chr_poll, .poll = tun_chr_poll,

View File

@ -1184,7 +1184,6 @@ static ssize_t bus_reset_write(struct file *file, const char __user *user_buf,
static const struct file_operations bus_reset_fops = { static const struct file_operations bus_reset_fops = {
.open = simple_open, .open = simple_open,
.llseek = no_llseek,
.write = bus_reset_write, .write = bus_reset_write,
}; };

View File

@ -3768,7 +3768,6 @@ static int iwl_mvm_d3_test_release(struct inode *inode, struct file *file)
} }
const struct file_operations iwl_dbgfs_d3_test_ops = { const struct file_operations iwl_dbgfs_d3_test_ops = {
.llseek = no_llseek,
.open = iwl_mvm_d3_test_open, .open = iwl_mvm_d3_test_open,
.read = iwl_mvm_d3_test_read, .read = iwl_mvm_d3_test_read,
.release = iwl_mvm_d3_test_release, .release = iwl_mvm_d3_test_release,

View File

@ -302,7 +302,6 @@ static const struct file_operations cros_ec_console_log_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = cros_ec_console_log_open, .open = cros_ec_console_log_open,
.read = cros_ec_console_log_read, .read = cros_ec_console_log_read,
.llseek = no_llseek,
.poll = cros_ec_console_log_poll, .poll = cros_ec_console_log_poll,
.release = cros_ec_console_log_release, .release = cros_ec_console_log_release,
}; };

View File

@ -156,7 +156,6 @@ static const struct file_operations fops_raw = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.read = raw_read, .read = raw_read,
.write = raw_write, .write = raw_write,
.llseek = no_llseek,
}; };
#define CMD_KB_CHROME 0x88 #define CMD_KB_CHROME 0x88

View File

@ -403,7 +403,6 @@ static const struct file_operations event_fops = {
.poll = event_poll, .poll = event_poll,
.read = event_read, .read = event_read,
.release = event_release, .release = event_release,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -330,7 +330,6 @@ static const struct file_operations telem_fops = {
.write = telem_write, .write = telem_write,
.read = telem_read, .read = telem_read,
.release = telem_release, .release = telem_release,
.llseek = no_llseek,
.owner = THIS_MODULE, .owner = THIS_MODULE,
}; };

View File

@ -670,7 +670,6 @@ static const struct file_operations ssam_controller_fops = {
.fasync = ssam_cdev_fasync, .fasync = ssam_cdev_fasync,
.unlocked_ioctl = ssam_cdev_device_ioctl, .unlocked_ioctl = ssam_cdev_device_ioctl,
.compat_ioctl = ssam_cdev_device_ioctl, .compat_ioctl = ssam_cdev_device_ioctl,
.llseek = no_llseek,
}; };

View File

@ -555,7 +555,6 @@ static const struct file_operations surface_dtx_fops = {
.fasync = surface_dtx_fasync, .fasync = surface_dtx_fasync,
.unlocked_ioctl = surface_dtx_ioctl, .unlocked_ioctl = surface_dtx_ioctl,
.compat_ioctl = surface_dtx_ioctl, .compat_ioctl = surface_dtx_ioctl,
.llseek = no_llseek,
}; };

View File

@ -319,7 +319,6 @@ static int pps_cdev_release(struct inode *inode, struct file *file)
static const struct file_operations pps_cdev_fops = { static const struct file_operations pps_cdev_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.poll = pps_cdev_poll, .poll = pps_cdev_poll,
.fasync = pps_cdev_fasync, .fasync = pps_cdev_fasync,
.compat_ioctl = pps_cdev_compat_ioctl, .compat_ioctl = pps_cdev_compat_ioctl,

View File

@ -523,7 +523,6 @@ static int rtc_dev_release(struct inode *inode, struct file *file)
static const struct file_operations rtc_dev_fops = { static const struct file_operations rtc_dev_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.llseek = no_llseek,
.read = rtc_dev_read, .read = rtc_dev_read,
.poll = rtc_dev_poll, .poll = rtc_dev_poll,
.unlocked_ioctl = rtc_dev_ioctl, .unlocked_ioctl = rtc_dev_ioctl,

Some files were not shown because too many files have changed in this diff Show More