OSDN Git Service

sens: remove unused parameter in dispatch_cmd
authorOctavian Purdila <octavian.purdila@intel.com>
Thu, 20 Nov 2014 13:21:22 +0000 (15:21 +0200)
committerAdriana Reus <adriana.reus@intel.com>
Wed, 3 Dec 2014 13:56:05 +0000 (15:56 +0200)
commit6fcd893dd904d7b27640a0c90f2d6736101ae164
treeaf289ceb5de87e9b5ab317bcff06d3658c4b7c91
parent558ac6607922dac5cf784b5caeafe8ce9f4ea5f1
sens: remove unused parameter in dispatch_cmd

We already assume that cmd is NULL terminated, so lets remove the unused
cmd_len. Add check to verify that the received command is NULL
terminated.

Change-Id: I1da3cdf8005b778d7e3e37fe7b2e3ca4b9322801
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
sens.c