Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
beaa37ff
Commit
beaa37ff
authored
Feb 27, 2003
by
Dave Jones
Committed by
Dave Jones
Feb 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WATCHDOG] Remove unnecessary llseek function
parent
c6b9684d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/char/watchdog/sc520_wdt.c
drivers/char/watchdog/sc520_wdt.c
+1
-6
No files found.
drivers/char/watchdog/sc520_wdt.c
View file @
beaa37ff
...
@@ -253,11 +253,6 @@ static int fop_close(struct inode * inode, struct file * file)
...
@@ -253,11 +253,6 @@ static int fop_close(struct inode * inode, struct file * file)
return
0
;
return
0
;
}
}
static
long
long
fop_llseek
(
struct
file
*
file
,
long
long
offset
,
int
origin
)
{
return
-
ESPIPE
;
}
static
int
fop_ioctl
(
struct
inode
*
inode
,
struct
file
*
file
,
unsigned
int
cmd
,
static
int
fop_ioctl
(
struct
inode
*
inode
,
struct
file
*
file
,
unsigned
int
cmd
,
unsigned
long
arg
)
unsigned
long
arg
)
{
{
...
@@ -282,7 +277,7 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
...
@@ -282,7 +277,7 @@ static int fop_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
static
struct
file_operations
wdt_fops
=
{
static
struct
file_operations
wdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
.
llseek
=
fop
_llseek
,
.
llseek
=
no
_llseek
,
.
write
=
fop_write
,
.
write
=
fop_write
,
.
open
=
fop_open
,
.
open
=
fop_open
,
.
release
=
fop_close
,
.
release
=
fop_close
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment