From: Johan Hedberg Date: Mon, 2 Dec 2013 08:49:04 +0000 (+0200) Subject: Bluetooth: Remove dead code from SMP encryption function X-Git-Tag: v3.14-rc1~94^2~482^2^2~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201a5929c8c788f9ef53b010065c9ce70c9c06f0;p=pandora-kernel.git Bluetooth: Remove dead code from SMP encryption function The AES cipher is used in ECB mode by SMP and therefore doesn't use an IV (crypto_blkcipher_ivsize returns 0) so the code trying to set the IV was never getting called. Simply remove this code to avoid anyone from thinking it actually makes some difference. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed