lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] fs: removing unused fops from struct char_device_struct
    Hi,

    seems struct char_device_struct::fops is no longer used, removing it.
    I checked with "make allyesconfig" and got proper compile.

    Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
    ---
    fs/char_dev.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/fs/char_dev.c b/fs/char_dev.c
    index c3bfa76..e4527fb 100644
    --- a/fs/char_dev.c
    +++ b/fs/char_dev.c
    @@ -55,7 +55,6 @@ static struct char_device_struct {
    unsigned int baseminor;
    int minorct;
    char name[64];
    - struct file_operations *fops;
    struct cdev *cdev; /* will die */
    } *chrdevs[CHRDEV_MAJOR_HASH_SIZE];


    \
     
     \ /
      Last update: 2008-02-20 22:01    [W:0.020 / U:88.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site