Revert "media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags"

This reverts commit 343ee53332.
This commit is contained in:
Ksawlii 2024-11-24 00:23:02 +01:00
parent 14ec22fe41
commit 637bec6d7b

View file

@ -132,8 +132,6 @@ static inline void cec_msg_init(struct cec_msg *msg,
* Set the msg destination to the orig initiator and the msg initiator to the
* orig destination. Note that msg and orig may be the same pointer, in which
* case the change is done in place.
*
* It also zeroes the reply, timeout and flags fields.
*/
static inline void cec_msg_set_reply_to(struct cec_msg *msg,
struct cec_msg *orig)
@ -141,9 +139,7 @@ static inline void cec_msg_set_reply_to(struct cec_msg *msg,
/* The destination becomes the initiator and vice versa */
msg->msg[0] = (cec_msg_destination(orig) << 4) |
cec_msg_initiator(orig);
msg->reply = 0;
msg->timeout = 0;
msg->flags = 0;
msg->reply = msg->timeout = 0;
}
/* cec_msg flags field */