{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1394","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1394/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1394/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/1394","id":55019261,"number":1394,"title":"step_wait() in stepper.cpp needless","user":{"login":"AnHardt","id":211931,"avatar_url":"https://avatars.githubusercontent.com/u/211931?v=3","gravatar_id":"","url":"https://api.github.com/users/AnHardt","html_url":"https://github.com/AnHardt","followers_url":"https://api.github.com/users/AnHardt/followers","following_url":"https://api.github.com/users/AnHardt/following{/other_user}","gists_url":"https://api.github.com/users/AnHardt/gists{/gist_id}","starred_url":"https://api.github.com/users/AnHardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnHardt/subscriptions","organizations_url":"https://api.github.com/users/AnHardt/orgs","repos_url":"https://api.github.com/users/AnHardt/repos","events_url":"https://api.github.com/users/AnHardt/events{/privacy}","received_events_url":"https://api.github.com/users/AnHardt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-21T13:39:16Z","updated_at":"2015-01-21T14:36:38Z","closed_at":null,"body":"When reading stepper.cpp i stumbled across the code beginning at line 241:\r\n\r\nvoid step_wait(){\r\n    for(int8_t i=0; i < 6; i++){\r\n    }\r\n}\r\n\r\nA candidate what could be optimized away by the compiler.\r\n\r\nThen i greped in Malin directory:\r\n\r\n$ grep -r step_wait *\r\nstepper.cpp:void step_wait(){\r\n\r\nis not used anywhwere but the definition.\r\n\r\nTo be sure i commented out the function and compiled  with standard configuration.h and later with my configuration.h without errors.\r\n\r\nI'm confident this can be removed.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/70847335","html_url":"https://github.com/MarlinFirmware/Marlin/issues/1394#issuecomment-70847335","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/1394","id":70847335,"user":{"login":"monkeydave","id":1016013,"avatar_url":"https://avatars.githubusercontent.com/u/1016013?v=3","gravatar_id":"","url":"https://api.github.com/users/monkeydave","html_url":"https://github.com/monkeydave","followers_url":"https://api.github.com/users/monkeydave/followers","following_url":"https://api.github.com/users/monkeydave/following{/other_user}","gists_url":"https://api.github.com/users/monkeydave/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeydave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeydave/subscriptions","organizations_url":"https://api.github.com/users/monkeydave/orgs","repos_url":"https://api.github.com/users/monkeydave/repos","events_url":"https://api.github.com/users/monkeydave/events{/privacy}","received_events_url":"https://api.github.com/users/monkeydave/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T14:36:38Z","updated_at":"2015-01-21T14:36:38Z","body":"Looks like it was orphaned in this commit ff6fa09ecf188272761f8d4a08df9749a70c1d7e\r\n\r\n@AnHardt Do you want to make a pull request to have it removed?"}}