Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228201
b: refs/heads/master
c: 4c8e2a1
h: refs/heads/master
i:
  228199: 2e07e30
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent db7545a commit 494f90c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 43 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: 8d80e4e2da31be71b8c1a5def986e10831d2aada
refs/heads/master: 4c8e2a1f3d5e6b63ebfd26f324a2b24194af37fa
42 changes: 0 additions & 42 deletions trunk/drivers/staging/sep/sep_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -933,38 +933,6 @@ static unsigned long sep_set_time(struct sep_device *sep)
return time.tv_sec;
}

/**
* sep_init_caller_id - initializes the caller id functionality
* @sep: pointer to struct sep_device
*/
static int sep_init_caller_id(struct sep_device *sep)
{
int counter;

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

/**
* init caller id table
* note that locking is not needed here as this function is
* called prior to registering the device file
*/
for (counter = 0; counter < SEP_CALLER_ID_TABLE_NUM_ENTRIES; counter++)
sep->caller_id_table[counter].pid = 0;


/* init access flag */
sep->singleton_access_flag = 0;

dev_dbg(&sep->pdev->dev,
"caller id table init finished\n");

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

return 0;
}

/**
* sep_set_caller_id_handler - inserts the data into the caller id table
* note that this function does fall under the ioctl lock
Expand Down Expand Up @@ -4056,16 +4024,6 @@ static int __init sep_init(void)
mutex_init(&sep->sep_mutex);
mutex_init(&sep->ioctl_mutex);

if (sep->mrst == 0) {
ret_val = sep_init_caller_id(sep);
if (ret_val) {
dev_warn(&sep->pdev->dev,
"cant init caller id\n");
goto end_function_unregister_pci;
}

}

/* new chip requires share area reconfigure */
if (sep->pdev->revision == 4) { /* only for new chip */
ret_val = sep_reconfig_shared_area(sep);
Expand Down

0 comments on commit 494f90c

Please sign in to comment.