Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325324
b: refs/heads/master
c: 0c4a9f6
h: refs/heads/master
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 48042ea commit 24d1483
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: ad139634c50999ab4007a2d83afe96cc500b0afd
refs/heads/master: 0c4a9f6e0ac55db62816bfa5e584ed807540a5ee
4 changes: 1 addition & 3 deletions trunk/drivers/staging/silicom/bp_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -7725,10 +7725,8 @@ bypass_proc_create_entry_sd(struct pfs_unit_sd *pfs_unit_curr,
S_IFREG | S_IRUSR |
S_IWUSR | S_IRGRP |
S_IROTH, parent_pfs);
if (pfs_unit_curr->proc_entry == 0) {

if (pfs_unit_curr->proc_entry == NULL)
return -1;
}

pfs_unit_curr->proc_entry->read_proc = read_proc;
pfs_unit_curr->proc_entry->write_proc = write_proc;
Expand Down

0 comments on commit 24d1483

Please sign in to comment.