Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228200
b: refs/heads/master
c: 8d80e4e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent 2e07e30 commit db7545a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 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: 266aa856f2c3aeddadd2fcf186d119af10539c3e
refs/heads/master: 8d80e4e2da31be71b8c1a5def986e10831d2aada
24 changes: 1 addition & 23 deletions trunk/drivers/staging/sep/sep_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@
#include <linux/delay.h>
#include <linux/rar_register.h>

#include <linux/netlink.h>
#include <linux/connector.h>
#include <linux/cn_proc.h>

#include "../memrar/memrar.h"

#include "sep_driver_hw_defs.h"
Expand Down Expand Up @@ -943,23 +939,11 @@ static unsigned long sep_set_time(struct sep_device *sep)
*/
static int sep_init_caller_id(struct sep_device *sep)
{
/* return value */
int ret_val;

/* counter */
int counter;

struct cb_id caller_id;

dev_dbg(&sep->pdev->dev,
"sep_init_caller_id start\n");

ret_val = 0;

/* init cb_id struct */
caller_id.idx = CN_IDX_PROC;
caller_id.val = CN_VAL_PROC;

/**
* init caller id table
* note that locking is not needed here as this function is
Expand All @@ -975,16 +959,10 @@ static int sep_init_caller_id(struct sep_device *sep)
dev_dbg(&sep->pdev->dev,
"caller id table init finished\n");

/* register to netlink connector */

if (ret_val)
dev_warn(&sep->pdev->dev,
"cn_add_callback failed %x\n", ret_val);

dev_dbg(&sep->pdev->dev,
"sep_init_caller_id end\n");

return ret_val;
return 0;
}

/**
Expand Down

0 comments on commit db7545a

Please sign in to comment.