crypto: Remove useless attribute

There is no need of 2 level status reporting, returned code from
synchronous call or the status code in the async callback should be
enough to tell why it did not work.

And this attribute is anyway unused anywhere.

This helps to save 4 bytes, in total, out of struct cipher_pkt.
(3 bytes were lurking around as the status attribute was only 1 byte).

Change-Id: Iadfe20d6b84d57d86683bc86203ce2ed50e40461
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2017-04-25 13:23:55 +02:00 committed by Anas Nashif
commit d4c816abd8

View file

@ -207,13 +207,6 @@ struct cipher_pkt {
*/
int out_len;
/* This this field contains additional crypto specific error code,
* in the event of a failure. The cipher_xxx_op()/ async_callback
* returns a first level success / failure status. To be populated
* by the driver on return from op / async_callback.
*/
u8_t status;
/* Context this packet relates to. This can be useful to get the
* session details esp for async ops. Will be populated by the
* cipher_xxx_op() API based on the ctx parameter