FreeRTOS / FreeRTOS-Kernel

FreeRTOS kernel files only, submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
https://www.FreeRTOS.org
MIT License
2.51k stars 1.05k forks source link

Remove unwanted volatile keyword #1028

Closed kar-rahul-aws closed 2 months ago

kar-rahul-aws commented 2 months ago

Description

The access macro listGET_LIST_ITEM_OWNER returns the owner ( pxListItem )->pvOwner of a list item, which is a non-volatile variable. Hence this PR removes the configLIST_VOALTILE macro for the TCB in the API prvListTasksWithinSingleList .

Test Steps

NA

Checklist:

Related Issue

995

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud