ID: 3600910 - 'lib/ipmi_delloem.c' remove unused variable

Commit removes unused variable 'dte' in ipmi_powermgmt() in
'lib/ipmi_delloem.c'.
This commit is contained in:
Zdenek Styblik 2013-02-12 12:15:28 +00:00
parent 69e43dc87f
commit c53a3cbb8e

View File

@ -3263,7 +3263,6 @@ static int ipmi_powermgmt(struct ipmi_intf* intf)
{ {
time_t now; time_t now;
struct tm* tm; struct tm* tm;
char* dte;
struct ipmi_rs * rsp; struct ipmi_rs * rsp;
struct ipmi_rq req; struct ipmi_rq req;
@ -3293,7 +3292,6 @@ static int ipmi_powermgmt(struct ipmi_intf* intf)
now = time(0); now = time(0);
tm = gmtime(&now); tm = gmtime(&now);
dte = asctime(tm);
memset(&req, 0, sizeof(req)); memset(&req, 0, sizeof(req));
req.msg.netfn = IPMI_NETFN_STORAGE; req.msg.netfn = IPMI_NETFN_STORAGE;