profile: 'cbs' member of 'struct sc_profile' is not used

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4075 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
viktor.tarasov 2010-03-01 14:01:25 +00:00
parent abd3a43b3e
commit dbd315c7e9
3 changed files with 0 additions and 4 deletions

View File

@ -293,7 +293,6 @@ sc_pkcs15init_bind(sc_card_t *card, const char *name,
profile = sc_profile_new();
profile->card = card;
profile->cbs = &callbacks;
for (i = 0; profile_operations[i].name; i++) {
if (!strcasecmp(driver, profile_operations[i].name)) {

View File

@ -1023,8 +1023,6 @@ process_tmpl(struct state *cur, struct block *info,
return 1;
}
templ->cbs = cur->profile->cbs;
tinfo = (sc_template_t *) calloc(1, sizeof(*tinfo));
if (tinfo == NULL) {
parse_error(cur, "memory allocation failed");

View File

@ -82,7 +82,6 @@ struct sc_profile {
sc_card_t * card;
char * driver;
struct sc_pkcs15init_operations *ops;
struct sc_pkcs15init_callbacks *cbs;
void * dll; /* handle for dynamic modules */
struct file_info * mf_info;