The struct hcill_cmd to create an skb with a single u8 is pointless. So
just use skb_put_u8 instead.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
        HCILL_AWAKE_TO_ASLEEP
 };
 
-struct hcill_cmd {
-       u8 cmd;
-} __packed;
-
 struct ll_device {
        struct hci_uart hu;
        struct serdev_device *serdev;
        int err = 0;
        struct sk_buff *skb = NULL;
        struct ll_struct *ll = hu->priv;
-       struct hcill_cmd *hcill_packet;
 
        BT_DBG("hu %p cmd 0x%x", hu, cmd);
 
        }
 
        /* prepare packet */
-       hcill_packet = skb_put(skb, 1);
-       hcill_packet->cmd = cmd;
+       skb_put_u8(skb, cmd);
 
        /* send packet */
        skb_queue_tail(&ll->txq, skb);