Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173196
b: refs/heads/master
c: 9e8ab74
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Thomas Gleixner committed Oct 14, 2009
1 parent 06e0652 commit 6dfd115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6783b9cd7104470a3afab51c205c5aea53a2858f
refs/heads/master: 9e8ab74ddaa591575f599248080a1f0d917a56ee
4 changes: 1 addition & 3 deletions trunk/drivers/char/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#define NVRAM_VERSION "1.3"

#include <linux/module.h>
#include <linux/smp_lock.h>
#include <linux/nvram.h>

#define PC 1
Expand Down Expand Up @@ -214,7 +213,6 @@ void nvram_set_checksum(void)

static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
{
lock_kernel();
switch (origin) {
case 0:
/* nothing to do */
Expand All @@ -226,7 +224,7 @@ static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
offset += NVRAM_BYTES;
break;
}
unlock_kernel();

return (offset >= 0) ? (file->f_pos = offset) : -EINVAL;
}

Expand Down

0 comments on commit 6dfd115

Please sign in to comment.