~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/target/target_core_tmr.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
{
76
76
        struct se_device *dev = tmr->tmr_dev;
77
77
 
 
78
        if (!dev) {
 
79
                kmem_cache_free(se_tmr_req_cache, tmr);
 
80
                return;
 
81
        }
 
82
 
78
83
        spin_lock(&dev->se_tmr_lock);
79
84
        list_del(&tmr->tmr_list);
 
85
        spin_unlock(&dev->se_tmr_lock);
 
86
 
80
87
        kmem_cache_free(se_tmr_req_cache, tmr);
81
 
        spin_unlock(&dev->se_tmr_lock);
82
88
}
83
89
 
84
90
static void core_tmr_handle_tas_abort(